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

Side by Side Diff: templates/default.tmpl

Issue 6240082344280064: Issue 2518 - Regression: <noscript> tag is no longer located in <body> section (Closed)
Patch Set: Created May 18, 2015, 2:50 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | 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-2015 Eyeo GmbH 3 # Copyright (C) 2006-2015 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
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 12 # GNU General Public License for more details.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 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/>. 15 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 #} 16 #}
17 17
18 <!DOCTYPE html> 18 <!DOCTYPE html>
19 <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">
20 <head> 20 <head>
21 <title>{{title|translate("title")}}</title> 21 <title>{{title|translate("title")}}</title>
22 22
23 <meta name="viewport" content="width=device-width, initial-scale=1"> 23 <meta name="viewport" content="width=device-width, initial-scale=1">
24 <link rel="stylesheet" href="/css/main.css" class="cssfx"> 24 <link rel="stylesheet" href="/css/main.css" class="cssfx">
25 <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">
26 <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)">
27 <noscript>
28 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 40.5em)"/>
29 <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and ( max-width: 40.5em)"/>
30 </noscript>
31 27
32 <link rel="canonical" href="https://adblockplus.org/{{page}}"> 28 <link rel="canonical" href="https://adblockplus.org/{{page}}">
33 29
34 {% block head %} 30 {% block head %}
35 {{head|safe}} 31 {{head|safe}}
36 {% endblock %} 32 {% endblock %}
37 33
38 <!--[if lt IE 7]> 34 <!--[if lt IE 7]>
39 <script src="/js/vendor/DD_belatedPNG.js"></script> 35 <script src="/js/vendor/DD_belatedPNG.js"></script>
40 <script>DD_belatedPNG.fix(".sprite");</script> 36 <script>DD_belatedPNG.fix(".sprite");</script>
41 <![endif]--> 37 <![endif]-->
42 <!--[if lt IE 9]> 38 <!--[if lt IE 9]>
43 <script src="/js/vendor/html5shiv.js"></script> 39 <script src="/js/vendor/html5shiv.js"></script>
44 <script src="/js/vendor/respond.min.js"></script> 40 <script src="/js/vendor/respond.min.js"></script>
45 <![endif]--> 41 <![endif]-->
46 <!--[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]-- >
47 <!-- Fixes cssfx issues in IE8. --> 43 <!-- Fixes cssfx issues in IE8. -->
48 <!--[if IE 8]> 44 <!--[if IE 8]>
49 <link rel="stylesheet" href="/css/empty.css" class="cssfx"/> 45 <link rel="stylesheet" href="/css/empty.css" class="cssfx"/>
50 <![endif]--> 46 <![endif]-->
51 </head> 47 </head>
52 48
53 <body> 49 <body>
50 <noscript>
51 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 40.5em)"/>
52 <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and ( max-width: 40.5em)"/>
53 </noscript>
54
54 {% macro pageitem(name) %} 55 {% macro pageitem(name) %}
55 {% if name == page %} 56 {% if name == page %}
56 <li class="selected">{{get_string(name, "menu")}}</li> 57 <li class="selected">{{get_string(name, "menu")}}</li>
57 {% else %} 58 {% else %}
58 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> 59 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li>
59 {% endif %} 60 {% endif %}
60 {% endmacro %} 61 {% endmacro %}
61 62
62 <header> 63 <header>
63 <a id="logo" class="sprite" itemprop="image" href="/"></a> 64 <a id="logo" class="sprite" itemprop="image" href="/"></a>
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a> 177 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a>
177 </li> 178 </li>
178 </ul> 179 </ul>
179 </section> 180 </section>
180 </div> 181 </div>
181 </footer> 182 </footer>
182 183
183 <script src="/js/main.js"></script> 184 <script src="/js/main.js"></script>
184 </body> 185 </body>
185 </html> 186 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld