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

Unified Diff: templates/default.tmpl

Issue 29605761: Noissue - Create minimal template for website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Nov. 13, 2017, 11:13 a.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 | « no previous file | templates/minimal.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/default.tmpl
===================================================================
--- a/templates/default.tmpl
+++ b/templates/default.tmpl
@@ -1,17 +1,7 @@
-<!DOCTYPE html>
-<html
- lang="{{ locale }}"
- dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}"
- class="no-js">
- <head>
- <? include meta/standard ?>
- <link rel="stylesheet" href="/css/main.css">
- <link rel="stylesheet" href="/css/demo.css">
- </head>
- <body>
- <div class="container content">
- {{ body | safe }}
- </div>
- <script src="/js/main.js"></script>
- </body>
-</html>
+{% extends "templates/minimal" %}
+
+{% block body %}
+ <div class="container content">
+ {{ body | safe }}
+ </div>
+{% endblock %}
« no previous file with comments | « no previous file | templates/minimal.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld