{% set isPortal = ((isPortal is defined) and isPortal) %}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
<!DOCTYPE html>
<html lang="en">
{% include 'Includes/head/headPart1.html.twig' with {'document': document} %}
<!-- Include layout-specific css references here -->
{% do pimcore_head_link().appendStylesheet(asset('website/static/css/slick.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('website/static/css/slick-theme.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('website/static/css/app.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('website/static/css/image-picker.css')) %}
{% include 'Includes/head/headPart2.html.twig' %}
{% include 'Includes/head/headPart3.html.twig' %}
<body class="">
<!-- main container of all the page elements -->
<div id="wrapper">
<!-- header of the page -->
{% include 'Includes/topnav.html.twig' with {'country': country, 'locale' : locale, 'params':'', 'preview':'preview'} %}
<!-- contain main informative part of the site -->
<main id="main" role="main">
{{ block('content') }}
</main>
</div>
<!-- footer of the page -->
{% set navStartNode = getNavStartNode() %}
{{ pimcore_inc('/' ~ navStartNode.getKey() ~ '/en_us/shared/footer') }}
</body>
<script>
$(document).ready(function(){
$('a[href*="en_US"]').each(function() {
this.href = this.href.replace('en_US','en_us');
})
})
</script>
</html>