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

Unified Diff: templates/default.tmpl

Issue 29695555: Fixes #6 - Add media mention banner (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Updated max-width Created Feb. 22, 2018, 8:52 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
« static/css/index.css ('K') | « static/img/media/wsj-2x.png ('k') | no next file » | 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
@@ -27,17 +27,22 @@
{% block head %}
{{head|safe}}
{% endblock %}
</head>
<body>
<? include navbar ?>
- <div id="content" class="container content {{ localefile == "index" and page }}">
+ {% if localefile == "index" %}
+ <div class="content {{ page }}">
+ {% else %}
+ <div id="content" class="container content">
+ {% endif %}
+
{% if abbnotification %}
<? include abb-notification ?>
{% endif %}
{% if not noheading %}
<h1>{{title|translate("title")}}</h1>
{% endif %}
{% if not notoc %}
« static/css/index.css ('K') | « static/img/media/wsj-2x.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld