Left: | ||
Right: |
OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 {% extends "templates/minimal" %} |
2 <!-- | |
3 This file is part of help.eyeo.com. | |
4 Copyright (C) 2017-present eyeo GmbH | |
5 | 2 |
6 help.eyeo.com is free software: you can redistribute it and/or modify | 3 {% block body %} |
7 it under the terms of the GNU General Public License as published by | 4 {{ body | safe }} |
8 the Free Software Foundation, either version 3 of the License, or | |
9 (at your option) any later version. | |
10 | 5 |
11 help.eyeo.com is distributed in the hope that it will be useful, | 6 <? include contact ?> |
ire
2017/09/25 08:47:36
I'm having an issue here. The contact section does
juliandoucette
2017/09/25 12:15:22
The contents of blocks are replaced; not extended.
ire
2017/09/25 14:02:25
Ah I see. Got it.
Putting the include outside th
| |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 7 {% endblock %} |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. | |
18 --> | |
19 <html | |
20 lang="{{ locale }}" | |
21 dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}" | |
22 class="no-js"> | |
23 <head> | |
24 <meta charset="utf-8"> | |
25 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no"> | |
26 <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
27 | |
28 <title>{{ title | translate("page-title", "Meta page title") }}</title> | |
29 | |
30 <!--[if IE 8]> | |
31 <script src="/js/vendor/ie8.min.js"></script> | |
32 <![endif]--> | |
33 | |
34 <link rel="stylesheet" href="/css/main.css"> | |
35 | |
36 <!--[if lt IE 9]> | |
37 <script src="/js/vendor/html5shiv.min.js"></script> | |
38 <script src="/js/vendor/respond.min.js"></script> | |
39 <![endif]--> | |
40 | |
41 <!--[if lt IE 10]> | |
42 <script src="/js/vendor/classList.min.js"></script> | |
43 <![endif]--> | |
44 | |
45 {% block head %} | |
46 {{ head | safe }} | |
47 {% endblock %} | |
48 </head> | |
49 <body> | |
50 <? include layout/header ?> | |
51 <div class="outer"> | |
52 {% block body %} | |
53 {{ body | safe }} | |
54 {% endblock %} | |
55 </div> | |
56 <? include layout/footer ?> | |
57 <script src="/js/main.js"></script> | |
58 </body> | |
59 <html> | |
OLD | NEW |