Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: macros/document.tmpl

Issue 29611624: Issue 6047 - Updated templates and uninstalled pages (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Updated button stytles Created Nov. 22, 2017, 3:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « includes/styles.tmpl ('k') | macros/pageitem.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: macros/document.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/macros/document.tmpl
@@ -0,0 +1,7 @@
+{% macro attributes(locale, is_rtl=false) -%}
+ lang="{{ locale }}"
+ dir="{{ "rtl" if is_rtl else "ltr" }}"
+ itemscope="itemscope"
+ itemtype="http://schema.org/WebPage"
+ class="no-js"
+{%- endmacro %}
« no previous file with comments | « includes/styles.tmpl ('k') | macros/pageitem.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld