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

Side by Side Diff: templates/default.tmpl

Issue 29333092: Issue 3438 - Added <link rel=canonical> tag to adblockbrowser.org (Closed)
Patch Set: Created Dec. 28, 2015, 2:51 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"}}"> 19 <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "l tr"}}">
20 <head> 20 <head>
21 <title>{{title|translate("title")}}</title> 21 <title>{{title|translate("title")}}</title>
22 <meta name="viewport" content="width=device-width, initial-scale=1" /> 22 <meta name="viewport" content="width=device-width, initial-scale=1" />
23 <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" /> 23 <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
24 <link rel="apple-touch-icon" href="/images/favicon-large.png" /> 24 <link rel="apple-touch-icon" href="/images/favicon-large.png" />
25 <link rel="canonical" href="https://adblockbrowser.org/{{ page[:-5] if page. split('/')[-1] == 'index' else page }}">
saroyanm 2015/12/28 15:35:05 Nit: Please also close the tag, to make it consist
Sebastian Noack 2015/12/28 16:38:02 Well, I'm almost certain that this wrong in the co
25 {{head|safe}} 26 {{head|safe}}
26 <!--[if lt lte 9]> 27 <!--[if lt lte 9]>
27 <script src="/js/html5shiv.min.js"></script> 28 <script src="/js/html5shiv.min.js"></script>
28 <![endif]--> 29 <![endif]-->
29 </head> 30 </head>
30 <body> 31 <body>
31 <header> 32 <header>
32 <div class="content-block"> 33 <div class="content-block">
33 <div> 34 <div>
34 <a href="/" id="logo"> 35 <a href="/" id="logo">
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 <div id="overlay"> 94 <div id="overlay">
94 <div id="modal"> 95 <div id="modal">
95 <a href="#" id="modal-close"></a> 96 <a href="#" id="modal-close"></a>
96 <? include modal ?> 97 <? include modal ?>
97 </div> 98 </div>
98 </div> 99 </div>
99 {% endif %} 100 {% endif %}
100 <script src="/js/main.js"></script> 101 <script src="/js/main.js"></script>
101 </body> 102 </body>
102 </html> 103 </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