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

Unified Diff: templates/default.tmpl

Issue 29509576: Issue 5453 - Make website-defaults adblockplus/cms compatible (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Aug. 8, 2017, 12:43 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
« README.md ('K') | « static/css/demo.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/default.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/templates/default.tmpl
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html
+ lang="{{ locale }}"
+ dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}">
+ <head>
+ <title>{{ title | translate("page-title", "Meta page title") }}</title>
+ <link rel="stylesheet" href="/css/main.css">
+ <link rel="stylesheet" href="/css/demo.css">
+ </head>
+ <body>
+ <div class="container">
+ {{ body | safe }}
+ </div>
+ </body>
+</html>
« README.md ('K') | « static/css/demo.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld