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

Side by Side Diff: templates/default.tmpl

Issue 29695555: Fixes #6 - Add media mention banner (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Feb. 12, 2018, 11:26 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« static/css/index.css ('K') | « static/img/media/wsj-2x.png ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {# 1 {#
2 # This file is part of the Adblock Plus website, 2 # This file is part of the Adblock Plus website,
3 # Copyright (C) 2006-present eyeo GmbH 3 # Copyright (C) 2006-present eyeo GmbH
4 # 4 #
5 # Adblock Plus is free software: you can redistribute it and/or modify 5 # Adblock Plus is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 3 as 6 # it under the terms of the GNU General Public License version 3 as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
8 # 8 #
9 # Adblock Plus is distributed in the hope that it will be useful, 9 # Adblock Plus is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 14 matching lines...) Expand all
25 <? include polyfills ?> 25 <? include polyfills ?>
26 26
27 {% block head %} 27 {% block head %}
28 {{head|safe}} 28 {{head|safe}}
29 {% endblock %} 29 {% endblock %}
30 </head> 30 </head>
31 31
32 <body> 32 <body>
33 <? include navbar ?> 33 <? include navbar ?>
34 34
35 <div id="content" class="container content {{ localefile == "index" and page }}"> 35 {% if localefile == "index" %}
36 <div class="content {{ page }}">
37 {% else %}
38 <div id="content" class="container content">
39 {% endif %}
40
36 {% if abbnotification %} 41 {% if abbnotification %}
37 <? include abb-notification ?> 42 <? include abb-notification ?>
38 {% endif %} 43 {% endif %}
39 {% if not noheading %} 44 {% if not noheading %}
40 <h1>{{title|translate("title")}}</h1> 45 <h1>{{title|translate("title")}}</h1>
41 {% endif %} 46 {% endif %}
42 47
43 {% if not notoc %} 48 {% if not notoc %}
44 {% macro toc(toclist) %} 49 {% macro toc(toclist) %}
45 <ul> 50 <ul>
(...skipping 16 matching lines...) Expand all
62 67
63 {% block body %} 68 {% block body %}
64 {{body|safe}} 69 {{body|safe}}
65 {% endblock %} 70 {% endblock %}
66 </div> 71 </div>
67 72
68 <? include footer ?> 73 <? include footer ?>
69 <? include scripts ?> 74 <? include scripts ?>
70 </body> 75 </body>
71 </html> 76 </html>
OLDNEW
« 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