<!doctype html>
<html lang="{{ app.request.locale }}" {% if not editmode %}class="frontend"{% endif %}>
<head>
{{ include('includes/layout/head.html.twig') }}
</head>
{% set bodyClasses = 'preload' %}
{% if not document.getProperty('portal') %}
{% set bodyClasses = bodyClasses ~ ' subpage' %}
{% endif %}
{% set design = document.getProperty('design') %}
{% if design is defined and design %}
{% if design is same as 'square' %}
{% set bodyClasses = bodyClasses ~ ' no-rounded-borders' %}
{% elseif design is same as 'playful' %}
{% set bodyClasses = bodyClasses ~ ' playful' %}
{% elseif design is same as 'playful2' %}
{% set bodyClasses = bodyClasses ~ ' playful2' %}
{% elseif design is same as 'playful3' %}
{% set bodyClasses = bodyClasses ~ ' playful3' %}
{% elseif design is same as 'stylish' %}
{% set bodyClasses = bodyClasses ~ ' stylish' %}
{% elseif design is same as 'stylish-dark' %}
{% set bodyClasses = bodyClasses ~ ' stylish stylish-dark' %}
{% elseif design is same as 'dark' %}
{% set bodyClasses = bodyClasses ~ ' dark' %}
{% endif %}
{% endif %}
{# Schatten in Header Bereich deaktivieren #}
{% if document.getProperty('without-shadow') %}
{% set bodyClasses = bodyClasses ~ ' without-shadow' %}
{% endif %}
<body class="{{ bodyClasses }}">
{# get root node if there is no document defined (for pages which are routed directly through static route) #}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if not editmode %}
{% if pimcore_website_config('modal-on-load') %}
<conecto-modal visible>
{{ render(controller('App\\Controller\\DefaultController::modalAction', {})) }}
</conecto-modal>
{% endif %}
{% endif %}
<div class="docking-trigger"></div>
<div class="page-wrap">
{{ include('includes/layout/header/page-header.html.twig') }}
<main class="page-main" role="main">
{{ block('content') }}
</main>
</div>
{{ pimcore_inc(document.getProperty('footer')) }}
{# output scripts added before #}
{% block headscripts deferred %}
{{ pimcore_head_script() }}
{% endblock %}
{% block inlinescripts deferred %}
{{ pimcore_inline_script() }}
{% endblock %}
{#<script type="module">
{{ conecto_inline_data('static/js/main.min.js')|raw }}
</script>#}
</body>
</html>