OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 {% if description %} | 24 {% if description %} |
25 <meta name="description" content="{{ description | translate("meta-descrip
tion", "Page description") }}"> | 25 <meta name="description" content="{{ description | translate("meta-descrip
tion", "Page description") }}"> |
26 <meta property="og:description" content="{{ description | translate("meta-
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 available_locales %} | 29 {% for alternate_locale in available_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="{{ config.get("general", "siteurl") }}{{ so
urce.resolve_link(page, locale)[1] }}"> |
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" /> |
37 <link rel="apple-touch-icon" href="/images/favicon-large.png" /> | 37 <link rel="apple-touch-icon" href="/images/favicon-large.png" /> |
38 {{head|safe}} | 38 {{head|safe}} |
39 <!--[if lt lte 9]> | 39 <!--[if lt lte 9]> |
40 <script src="/js/html5shiv.min.js"></script> | 40 <script src="/js/html5shiv.min.js"></script> |
41 <![endif]--> | 41 <![endif]--> |
42 </head> | 42 </head> |
43 <body> | 43 <body> |
44 <header> | 44 <header> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 <div id="overlay"> | 93 <div id="overlay"> |
94 <div id="modal"> | 94 <div id="modal"> |
95 <a href="#" id="modal-close"></a> | 95 <a href="#" id="modal-close"></a> |
96 <? include modal ?> | 96 <? include modal ?> |
97 </div> | 97 </div> |
98 </div> | 98 </div> |
99 {% endif %} | 99 {% endif %} |
100 <script src="/js/main.js"></script> | 100 <script src="/js/main.js"></script> |
101 </body> | 101 </body> |
102 </html> | 102 </html> |
OLD | NEW |