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

Delta Between Two Patch Sets: templates/default.tmpl

Issue 5636796054503424: Issue 1170 - [adblockplus.org Anwiki to CMS migration] Migrate content (Closed)
Left Patch Set: Created Sept. 17, 2014, 8:33 a.m.
Right Patch Set: Remove includes/common.tmpl which is no longer required. Created March 7, 2015, 7:01 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « static/img/sprite-index.png ('k') | templates/minimal.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 {#
2 # This file is part of the Adblock Plus website,
3 # Copyright (C) 2006-2015 Eyeo GmbH
4 #
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
7 # published by the Free Software Foundation.
8 #
9 # Adblock Plus is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 #}
17
1 <!DOCTYPE html> 18 <!DOCTYPE html>
2 <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "l tr"}}" itemscope="itemscope" itemtype="http://schema.org/WebPage"> 19 <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "l tr"}}" itemscope="itemscope" itemtype="http://schema.org/WebPage">
3 <head> 20 <head>
4 <title>{{title|translate}}</title> 21 <title>{{title|translate}}</title>
5 22
6 <meta name="viewport" content="width=device-width, initial-scale=1"> 23 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <link rel="stylesheet" href="/css/main.css" class="cssfx"> 24 <link rel="stylesheet" href="/css/main.css" class="cssfx">
8 <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 40.5e m)" class="cssfx"> 25 <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 40.5e m)" class="cssfx">
9 <link rel="stylesheet" href="/css/main-mobile.css" media="screen and (max-wi dth: 40.5em)"> 26 <link rel="stylesheet" href="/css/main-mobile.css" media="screen and (max-wi dth: 40.5em)">
10 <noscript> 27 <noscript>
11 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 40.5em)"/> 28 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 40.5em)"/>
12 <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and ( max-width: 40.5em)"/> 29 <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and ( max-width: 40.5em)"/>
13 </noscript> 30 </noscript>
14 31
15 <link rel="canonical" href="https://adblockplus.org/{{localefile != "index" and page or ""}}"> 32 <link rel="canonical" href="https://adblockplus.org/{{page}}">
16 33
17 <!--[if lt IE 7]> 34 <!--[if lt IE 7]>
18 <script src="/js/vendor/DD_belatedPNG.js"></script> 35 <script src="/js/vendor/DD_belatedPNG.js"></script>
19 <script>DD_belatedPNG.fix(".sprite");</script> 36 <script>DD_belatedPNG.fix(".sprite");</script>
20 <![endif]--> 37 <![endif]-->
21 <!--[if lt IE 9]> 38 <!--[if lt IE 9]>
22 <script src="/js/vendor/html5shiv.js"></script> 39 <script src="/js/vendor/html5shiv.js"></script>
23 <script src="/js/vendor/respond.min.js"></script> 40 <script src="/js/vendor/respond.min.js"></script>
24 <![endif]--> 41 <![endif]-->
25 <!--[if lt IE 10]><script src="/js/vendor/cssfx.min.js"></script><![endif]-- > 42 <!--[if lt IE 10]><script src="/js/vendor/cssfx.min.js"></script><![endif]-- >
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 <div id="flag-{{lang}}" class="flag sprite"></div>{{config.g et("langnames", lang)}} 94 <div id="flag-{{lang}}" class="flag sprite"></div>{{config.g et("langnames", lang)}}
78 </a> 95 </a>
79 </li> 96 </li>
80 {% endfor %} 97 {% endfor %}
81 </ul> 98 </ul>
82 </li> 99 </li>
83 </ul> 100 </ul>
84 </nav> 101 </nav>
85 </header> 102 </header>
86 103
87 <div id="content" class="{{page}}"> 104 <div id="content" {% if localefile == "index" %}class="{{page}}"{% endif %}>
88 {% if not noheading %} 105 {% if not noheading %}
89 <h1>{{title|translate}}</h1> 106 <h1>{{title|translate}}</h1>
90 {% endif %} 107 {% endif %}
91 108
92 {% if not notoc %} 109 {% if not notoc %}
93 {% macro toc(toclist) %} 110 {% macro toc(toclist) %}
94 <ul> 111 <ul>
95 {% for item in toclist %} 112 {% for item in toclist %}
96 <li> 113 <li>
97 <a href="#{{item.anchor}}">{{item.title}}</a> 114 <a href="#{{item.anchor}}">{{item.title}}</a>
(...skipping 15 matching lines...) Expand all
113 {{body|safe}} 130 {{body|safe}}
114 {% endblock %} 131 {% endblock %}
115 </div> 132 </div>
116 133
117 <footer> 134 <footer>
118 <div id="footer-content"> 135 <div id="footer-content">
119 <nav> 136 <nav>
120 <section class="first"> 137 <section class="first">
121 <h1>{{"resources"|translate("menu")}}</h1> 138 <h1>{{"resources"|translate("menu")}}</h1>
122 <ul> 139 <ul>
123 {% for name in ["acceptable-ads", "documentation", "privacy", "imp ressum"] %} 140 {% for name in ["acceptable-ads", "documentation", "deployments", "privacy", "impressum"] %}
124 {{pageitem(name)}} 141 {{pageitem(name)}}
125 {% endfor %} 142 {% endfor %}
126 </ul> 143 </ul>
127 </section> 144 </section>
128 145
129 <section> 146 <section>
130 <h1>{{"community"|translate("menu")}}</h1> 147 <h1>{{"community"|translate("menu")}}</h1>
131 <ul> 148 <ul>
132 <li><a href="/releases/" hreflang="en">{{"releases"|translate("men u")}}</a></li> 149 <li><a href="/releases/" hreflang="en">{{"releases"|translate("men u")}}</a></li>
133 <li><a href="/blog/" hreflang="en">{{"blog"|translate("menu")}}</a ></li> 150 <li><a href="/blog/" hreflang="en">{{"blog"|translate("menu")}}</a ></li>
(...skipping 25 matching lines...) Expand all
159 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a> 176 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a>
160 </li> 177 </li>
161 </ul> 178 </ul>
162 </section> 179 </section>
163 </div> 180 </div>
164 </footer> 181 </footer>
165 182
166 <script src="/js/main.js"></script> 183 <script src="/js/main.js"></script>
167 </body> 184 </body>
168 </html> 185 </html>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld