<!DOCTYPE html>
<html lang="de">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% if title is defined %}{{ title }} -
        {% elseif entry.title is defined %}{{ entry.title }} - {% endif %}Daseinsvorsorge</title>
    </title>
    <link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
    {% css "/assets/css/style.css" %}
    {% css "/assets/css/main.css" %}
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" />

    <!-- TRUENDO Privacy Center -->
    <script id="truendoAutoBlock" type="text/javascript" src="https://cdn.priv.center/pc/truendo_cmp.pid.js"
        data-siteid="2e825ab9-e7e6-468f-b48d-5f34675f33d9"></script><!-- End TRUENDO Privacy Center -->
</head>

<body>

    {% block navigation %}
    {{ include('components/navigation.twig', { 'nav': craft.entries.section('nav').all() }) }}
    {% endblock %}
    <main>
        <div class="container">
            {% block content %}{% endblock %}
        </div>
    </main>
    {{ include('components/footer.twig') }}

    <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
    {% js "@web/assets/js/menu.js" %}
    <!-- Matomo -->
    <script>
        var _paq = window._paq = window._paq || [];
        /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
        _paq.push(['trackPageView']);
        _paq.push(['enableLinkTracking']);
        (function () {
            var u = "https://stats.wh-i.at/";
            _paq.push(['setTrackerUrl', u + 'matomo.php']);
            _paq.push(['setSiteId', '29']);
            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 -->
</body>

</html>