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