92 lines
2.4 KiB
Twig
92 lines
2.4 KiB
Twig
<!doctype html>
|
|
<html class="no-js" lang="en">
|
|
|
|
{% include '@override/above_head.html.twig' ignore missing %}
|
|
|
|
<head>
|
|
{% include ['@override/head.html.twig', '@novaconium/head.html.twig'] %}
|
|
</head>
|
|
|
|
<body id="{{ pageid | default('pageid') }}" class="{{ pageclass | default('pageclass') }}" >
|
|
|
|
{# Page Header #}
|
|
<header>
|
|
{% block headerbefore %}{% endblock %}
|
|
{% include ['@override/nav.html.twig', '@novaconium/nav.html.twig'] %}
|
|
{% block headerafter %}{% endblock %}
|
|
</header>
|
|
|
|
<!-- Main Content Of The Page -->
|
|
<div id="page">
|
|
<div class="container">
|
|
|
|
{% include ['@override/left.html.twig','@novaconium/left.html.twig'] %}
|
|
|
|
<div class="middle">
|
|
{% if error|default is not empty %}
|
|
{% for key, val in error %}
|
|
<div class="error">{{ val }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if notice|default is not empty %}
|
|
{% for key, val in notice %}
|
|
<div class="notice">{{ val }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
<article>
|
|
{% block content %}{% endblock %}
|
|
</article>
|
|
|
|
{% include ['@override/right.html.twig','@novaconium/right.html.twig'] %}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{# Page Footer #}
|
|
<footer>
|
|
{% block footerbefore %}{% endblock %}
|
|
{% include ['@override/footer.html.twig', '@novaconium/footer.html.twig'] %}
|
|
{% block footerafter %}{% endblock %}
|
|
</footer>
|
|
|
|
{% if debug is not empty %}
|
|
<div id="debug">
|
|
<h2>Debugging Information</h2>
|
|
{{ debug|raw }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% include ['@override/foot.html.twig', '@novaconium/foot.html.twig'] %}
|
|
{% if matomo_id > 0 %}
|
|
<!-- Matomo -->
|
|
<script>
|
|
var _paq = window._paq = window._paq || [];
|
|
|
|
{% if is_404 %}
|
|
_paq.push([
|
|
'setDocumentTitle',
|
|
'404 / Not Found - ' + document.location.pathname
|
|
]);
|
|
{% endif %}
|
|
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
|
|
(function() {
|
|
var u = "//{{ matomo_url|trim('/') }}/";
|
|
_paq.push(['setTrackerUrl', u + 'matomo.php']);
|
|
_paq.push(['setSiteId', {{ matomo_id }}]);
|
|
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
|
g.async = true;
|
|
g.src = u + 'matomo.js';
|
|
s.parentNode.insertBefore(g, s);
|
|
})();
|
|
</script>
|
|
<!-- End Matomo Code -->
|
|
{% endif %}
|
|
|
|
</body></html>
|