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

Delta Between Two Patch Sets: templates/default.tmpl

Issue 29511670: Issue 5446 - Add missing essential meta data to adblockbrowser.org (Closed) Base URL: https://hg.adblockplus.org/web.adblockbrowser.org
Left Patch Set: Created Aug. 10, 2017, 7:11 p.m.
Right Patch Set: Re-added index page description and matched previous description string id Created Aug. 10, 2017, 7:18 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 | « settings.ini ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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-2017 eyeo GmbH 3 # Copyright (C) 2006-2017 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 <meta name="viewport" content="width=device-width, initial-scale=1" /> 21 <meta name="viewport" content="width=device-width, initial-scale=1" />
22 <title>{{title|translate("title")}}</title> 22 <title>{{title|translate("title")}}</title>
23 <meta property="og:title" content="{{ title | translate("title") }}"> 23 <meta property="og:title" content="{{ title | translate("title") }}">
24 {% if description %} 24 {% if description %}
25 <meta name="description" content="{{ description | translate("page-descrip tion", "Page description") }}"> 25 <meta name="description" content="{{ description | translate("meta-descrip tion", "Page description") }}">
26 <meta property="og:description" content="{{ description | translate("page- description") }}"> 26 <meta property="og:description" content="{{ description | translate("meta- description") }}">
27 {% endif %} 27 {% endif %}
28 <meta property="og:locale" content="{{ locale | to_og_locale }}"> 28 <meta property="og:locale" content="{{ locale | to_og_locale }}">
29 {% for alternate_locale in locales %} 29 {% for alternate_locale in locales %}
30 {% if alternate_locale != locale %} 30 {% if alternate_locale != locale %}
31 <meta property="og:locale:alternate" content="{{ alternate_locale | to_o g_locale }}"> 31 <meta property="og:locale:alternate" content="{{ alternate_locale | to_o g_locale }}">
32 {% endif %} 32 {% endif %}
33 {% endfor %} 33 {% endfor %}
34 <meta property="og:url" content="{{ get_canonical_url(page) }}"> 34 <meta property="og:url" content="{{ get_canonical_url(page) }}">
35 <link rel="canonical" href="{{ get_canonical_url(page) }}" /> 35 <link rel="canonical" href="{{ get_canonical_url(page) }}" />
36 <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" /> 36 <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 <div id="overlay"> 106 <div id="overlay">
107 <div id="modal"> 107 <div id="modal">
108 <a href="#" id="modal-close"></a> 108 <a href="#" id="modal-close"></a>
109 <? include modal ?> 109 <? include modal ?>
110 </div> 110 </div>
111 </div> 111 </div>
112 {% endif %} 112 {% endif %}
113 <script src="/js/main.js"></script> 113 <script src="/js/main.js"></script>
114 </body> 114 </body>
115 </html> 115 </html>
LEFTRIGHT
« settings.ini ('k') | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld