{% if app.user and canReadMainLocation() %} {% block page_head %} {% include '@ibexadesign/page_head.html.twig' %} {% endblock %} {% endif %} {% include '@ibexadesign/page_head_style.html.twig' %} {% include '@ibexadesign/page_head_script.html.twig' %} {% 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()} ) ) }} {% endblock %}
{#if location is not landingpage#}
{% block breadcrumb %} {% if currentLocation is defined and currentLocation.contentInfo.contentTypeId not in [107,108] %} {{ render( controller( 'App\\Controller\\MenuController::viewBreadcrumb', { 'locationId': currentLocation.id } ) ) }} {% endif %} {% endblock %}
{% block fullcontent %}
{% block content %}{% endblock %}
{% endblock %}
{% if app.user and canReadMainLocation()%} {% block footer %} {% if currentLocation is defined and currentLocation.contentInfo.sectionId not in [1, 9, 6] %} {{ render( controller( "App\\Controller\\FooterController::index", { 'hideTracking': true } ) ) }} {% else %} {{ render( controller( "App\\Controller\\FooterController::index", { 'hideTracking': false } ) ) }} {% endif %} {% endblock %} {% endif %}