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

Unified Diff: templates/default.tmpl

Issue 29587584: Issue 5635 - Implement website-default navbar component (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Demo - Use table layout Created Nov. 2, 2017, 11:08 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
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 %}
« static/scss/_utilities.scss ('K') | « static/scss/main.scss ('k') | templates/minimal.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld