LEFT | RIGHT |
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 |
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 {% import "macros/document" as document %} | |
19 | |
20 <!DOCTYPE html> | 18 <!DOCTYPE html> |
21 <html {{ document.attributes(locale, config.has_option("rtl", locale)) }}> | 19 <html <? include html-attributes ?>> |
22 | 20 |
23 <head> | 21 <head> |
24 <? include meta/standard ?> | 22 <? include meta/standard ?> |
25 <? include meta/social ?> | 23 <? include meta/social ?> |
26 <? include styles ?> | 24 <? include styles ?> |
27 <? include polyfills ?> | 25 <? include polyfills ?> |
28 | 26 |
29 {% block head %} | 27 {% block head %} |
30 {{ head | safe }} | 28 {{ head | safe }} |
31 {% endblock %} | 29 {% endblock %} |
32 </head> | 30 </head> |
33 | 31 |
34 <body> | 32 <body> |
35 <? include navbar ?> | 33 <? include navbar ?> |
36 | 34 |
37 <main> | 35 <main> |
38 {% block body %} | 36 {% block body %} |
39 {{ body | safe }} | 37 {{ body | safe }} |
40 {% endblock %} | 38 {% endblock %} |
41 </main> | 39 </main> |
42 | 40 |
43 <? include footer ?> | 41 <? include footer ?> |
44 <? include scripts ?> | 42 <? include scripts ?> |
45 </body> | 43 </body> |
46 </html> | 44 </html> |
LEFT | RIGHT |