- <!doctype html>
- <html lang="{{ app.request.locale }}">
- <head>
-     <script>
-     /* ga mock function */
-     (function(i,s,r){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-     (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();
-     })(window,document,'ga');
-     </script>
-     {% if hasGetParams() or 'demi_checkout' in app.request.attributes.get('_route') %}
-         {% do elements_robots().setNoIndex(true) %}
-     {% endif %}
-     {{ include('@ElementsDemiFrontend/Includes/layout/head.html.twig') }}
-     {{ include('Layout/includes/codeHead.html.twig') }}
- </head>
- <body>
- {% if not demi_core_configuration("getIsWhitelabel", {}) and not editmode %}
-     {{ include('Navigation/navbar.html.twig') }}
- {% endif %}
- {% if demi_core_configuration("getIsWhitelabel", {}) %}
-     {% do jsConfig().add('affiliate', true) %}
-     {% do jsConfig().add('affiliateTarget', '_blank') %}
-     <main id="main-content" role="main" class="content-block">
-         {{ block('content') }}
-     </main>
- {% else %}
-     <div class="main-content--spacing main-content--no-hero-small content-block">
-         {{ block('content') }}
-     </div>
- {% endif %}
- {% if not editmode and document.property('modal_info') is instanceof('\\Pimcore\\Model\\Document\\Snippet') %}
-     {{ pimcore_inc(document.property('modal_info')) }}
- {% endif %}
- {% if not demi_core_configuration("getIsWhitelabel", {}) %}
-     {{ pimcore_inc(document.property('footer'), {footerStyleModifier: 'footer--has-smaller-padding content-block'}) }}
- {% endif %}
- {{ jsConfig() }}
- {% if loadMerchJs is defined and loadMerchJs == true %}
-     {{ include('@ElementsDemiFrontend/Includes/layout/jsScriptsMerchandiseShop.html.twig') }}
- {% elseif loadAdditionalServiceJs is defined and loadAdditionalServiceJs == true %}
-     {{ include('@ElementsDemiFrontend/Includes/layout/jsScriptsAdditionalService.html.twig') }}
- {%  else %}
-     {{ include('@ElementsDemiFrontend/Includes/layout/jsScripts.html.twig') }}
- {% endif %}
- {% set now = carbon().now() %}
- {% set earliestProposedFromDate = carbon().createFromFormat('Y-m-d H:i:s', '2020-03-19 12:00:00') %}
- {% set earliestProposedToDate = earliestProposedFromDate.copy().addDays(7) %}
- {% if earliestProposedFromDate.gt(now) %}
-     <script type="text/javascript" data-cookieconsent="ignore">
-         _initialState.searchForm.from = '{{ elements_customDateFormat(earliestProposedFromDate) }}';
-         _initialState.searchForm.to = '{{ elements_customDateFormat(earliestProposedToDate) }}';
-     </script>
- {% endif %}
- <div class="custom-cursor js-custom-cursor"></div>
- </body>
- </html>