-
Notifications
You must be signed in to change notification settings - Fork 0
/
_layout.twig
28 lines (25 loc) · 973 Bytes
/
_layout.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{# cheap asset versioning for invalidation #}
{% set themeVersions = '26.2.2019' %}
{# Dis var calls all the navigation items for all navigations #}
{% set navigation = craft.entries.id('4,6,12,13').fixedOrder(true).all() %}
{% import '_incl/docMacros' as macro %}
{% if steuerung.enableMaintenance == '1' %}
{# {% if not user and craft.config.environment == 'live' %} #}
{% redirect "maintenance" %}
{# {% endif %} #}
{% endif %}
{% cache %}
<!doctype html>
<html lang="{{ craft.app.language }}">
{% include '_incl/docHead' %}
<body class="{{ entry.section.handle }}">
{% include '_organisms/navMain' %}
{% include '_organisms/navMobile' %}
<div class="content">{% block content %}{# all the content #}{% endblock %}</div>
{% if entry.section.handle != 'mapViewer'%}
{% include '_incl/docFooter' %}
{% endif %}
{% include '_incl/docScripts' %}
</body>
</html>
{% endcache %}