<!doctype html>
<html lang="{{ app.request.locale }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('build/images/favicon.png') }}" />
{% if product is defined %}
{% do pimcore_head_title().set(product.name) %}
{% endif %}
{% do pimcore_head_title().append('Hugo Josten') %}
{% do pimcore_head_title().setSeparator(' - ') %}
{{ pimcore_head_title() }}
{{ encore_entry_link_tags('app') }}
{{ encore_entry_script_tags('app') }}
{% block PAGE_CSS %}
{% endblock %}
</head>
<body class="antialiased">
<div class="bg-white">
{% set navStartNode = document.getProperty('navigation_root') %}
{% if not otherLanguageUrl|default(null) %}
{% set otherLanguageUrl = document.getProperty("page_in_" ~ (app.request.getLocale() == "en" ? 'de' : 'en')) %}
{% if otherLanguageUrl is empty %}
{% set currentPath = path(app.request.attributes.get('_route'), (app.request.attributes.get('_route_params') is not null ? app.request.attributes.get('_route_params') : []) ) %}
{% set otherLanguageUrl = currentPath|replace({'/en/': '/de/', '/de/':'/en/'}) %}
{% if currentPath == otherLanguageUrl %}
{% set otherLanguageUrl = (app.request.getLocale() == "en" ? '/de' : '/en') %}
{% endif %}
{% endif %}
{% endif %}
{% include 'include/header.html.twig' %}
<div>
{% block CONTENT_MID %}
{% endblock %}
{% include 'include/footer.html.twig' %}
</div>
</div>
{% block PAGE_JS %}
{% endblock %}
</body>
</html>