{# Master Layout -------------------------------------------------- This i the basic layout. Feel free to modify #} {% set rootUrl = siteUrl %} {# Include Macros #} {# -- All Macros -- {% import '_macros/_macro-amNav.html' as macroAmNav %} {% import '_macros/_macro-bgImage.html' as macroBgImage %} {% import '_macros/_macro-image.html' as macroImage %} {% import '_macros/_macro-isActive.html' as macroIsActive %} {% import '_macros/_macro-niceTime.html' as macroNiceTime %} {% import '_macros/_macro-pagination.html' as macroPagination %} {% import '_macros/_macro-paginationSimple.html' as macroPaginationSimple %} {% import '_macros/_macro-postNav.html' as macroPostNav %} {% import '_macros/_macro-socialLinks.html' as macroSocialLinks %} {% import '_macros/_macro-srcset.html' as macroSrcset %} {% import '_macros/_macro-svgSprite.html' as macroSvgSprite %} #}
{# -- LOADS CSS -- #} {# -- WEBFONTS HERE -- #} {# -- CRITICAL CSS -- #} {% set cacheVal = getCookie('critical-css') %} {% if not cacheVal or craft.config.devMode %} {{ setCookie('critical-css', now | date_modify("+7 days").timestamp ) }} {% block appInlineCSS %} {% endblock %} {% if craft.cacheBuster is defined %} {% else %} {% endif %} {% else %} {% if craft.cacheBuster is defined %} {% else %} {% endif %} {% endif %} {# -- CHECK JS -- #} {% include '_partials/_global/_checkJS.html' %} {# -- META -- #} {% include '_partials/_header/_meta.html' %} {# -- SCRIPTS -- #} {% include '_partials/_header/_scripts.html' %} {# -- SEO & TITLE TAG -- #} {% include '_partials/_header/_seo.html' %} {# -- FAV ICON -- #} {% include '_partials/_header/_favicons.html' %} {% block siteHeader %}{% endblock %} {% cache %} {% minify %} {% if currentUser %} {#{% if currentUser.isInGroup('redakteur') or currentUser.admin %}#} {% if currentUser.admin %} {% endif %} {% endif %}