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

Unified Diff: templates/default.tmpl

Issue 29588576: Issue 5635 - Implement website-default navbar component (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Oct. 25, 2017, 10:02 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,15 +1,7 @@
-<!DOCTYPE html>
-<html
- lang="{{ locale }}"
- dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}">
- <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>
- </body>
-</html>
+{% extends "templates/minimal" %}
+
+{% block body %}
+ <div class="container content">
+ {{ body | safe }}
+ </div>
+{% endblock %}
« pages/navbar.md ('K') | « static/scss/main.scss ('k') | templates/minimal.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld