src/Develey/AikoBundle/Resources/views/pageTemplateDefault.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. {{ include('Includes/headDefault.html.twig') }}
  4. <body class="brand-{% if siteName is defined %}{{ siteName|lower }}{% endif %} {% if editmode %}editmode{% endif %}">
  5. <header class="main-header">
  6.     <div class="navigation">
  7.         <div class="nav-bg has-background">
  8.             <div class="main-content flex-col box-align-center nav-wrapper">
  9.                 {{ include('Includes/NavMain.html.twig') }}
  10.             </div>
  11.         </div>
  12.     </div>
  13. </header>
  14. {% import 'Macros/bodyPatternFromPageProperty.html.twig' as patternHelper %}
  15. <main class="{{ patternHelper.get_body_pattern_class(document) }}">
  16.     {{ block('content') }}
  17. </main>
  18. {{ pimcore_inc('/' ~ siteName ~ '/' ~ app.request.locale ~ '/includes/footer') }}
  19. {% if enabledWebsiteFeatures is defined and enabledWebsiteFeatures['sidebarCart'] is defined and enabledWebsiteFeatures['sidebarCart'] == true %}
  20.     {{ include('Includes/SidebarCart.html.twig') }}
  21. {% endif %}
  22. {% include 'Partials/AgeVerification.html.twig' %}
  23. {# output scripts added before #}
  24. {% block scripts deferred %}
  25. {{ pimcore_head_script() }}
  26. {{ include('Includes/footerScripts.html.twig') }}
  27. {% endblock %}
  28. <script>var country = '{% if country is defined %}{{ country }}{% else %}DE{% endif %}';</script>
  29. </body>
  30. </html>