{% block page_head %} {% include '@ibexadesign/page_head.html.twig' %} {% endblock %} {% block stylesheets %} {% include '@ibexadesign/page_head_style.html.twig' %} {% endblock %} {% if ekyna_cookie_consent_category_allowed('analytic') %} {% set hideTracking = false %} {% include '@ibexadesign/page_head_script.html.twig' %} {% else %} {% set hideTracking = true %} {% include '@ibexadesign/page_head_script.html.twig' %} {% endif %} {% if location is defined and not location.isDraft %} {% set currentLocation=location %} {% endif %}
{% block header %} {{ render( controller( "App\\Controller\\HeaderController::index",{ 'locationId': currentLocation.id is defined ? currentLocation.id : null, 'routeRef': ibexa_route(), 'contentTypeId': currentLocation.id is defined ? currentLocation.contentInfo.contentTypeId : 0} ) ) }} {% endblock %}
{#if location is not landingpage#}
{% block content %}
{% block fullcontent %}{% endblock %}
{% endblock %}
{% if content is defined and ( path( "ibexa.url.alias", {"contentId": content.contentInfo.id} ) starts with "/Datenschutz" or path( "ibexa.url.alias", {"contentId": content.contentInfo.id} ) starts with "/datenschutz" ) %} {# hide cookie disclaimer on page "/Datenschutz #} {% else %} {{ ekyna_cookie_consent_render({ render_if_saved: false, expanded: false, dialog: true }) }} {% endif %}
{% block footer %} {% if ekyna_cookie_consent_category_allowed('analytic') %} {{ render( controller( "App\\Controller\\FooterController::index", { 'hideTracking': false } ) ) }} {% else %} {{ render( controller( "App\\Controller\\FooterController::index", { 'hideTracking': true } ) ) }} {% endif %} {% endblock %}