templates/layouts/layout.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="{{ app.request.locale|replace({ '_': '-' }) }}">
  3. <head>
  4.     {% include 'layouts/layout/html-head.html.twig' %}
  5. </head>
  6. <body>
  7. {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  8. {% if not document is defined or not document %}
  9.     {% set document = pimcore_document(1) %}
  10. {% endif %}
  11. {% include 'layouts/navigation/navbar.html.twig' %}
  12. {% if loadJsForAction()|first == 'content' and loadJsForAction()|last == 'homepage' %}
  13.     {% include 'layouts/layout/slideshow/home-slideshow.html.twig' %}
  14. {% else %}
  15.     {% include 'layouts/layout/slideshow/fluid.html.twig' %}
  16. {% endif %}
  17. {#{% include 'layouts/layout/slideshow/fluid-video.html.twig' %}#}
  18. <main>
  19.     {% include 'layouts/layout/flash-messages.html.twig' %}
  20. {#    {% include 'layouts/layout/breadcrumbs.html.twig' %}#}
  21.     {% block content %}
  22.     {% endblock %}
  23. </main>
  24. {% include 'layouts/layout/footer.html.twig' %}
  25. {% if not editmode %}
  26.     {## Init Cookiebar #}
  27.     {{ render(controller('DataprivacyBundle\\Controller\\DefaultController::defaultAction', {} )) }}
  28. {% endif %}
  29. </body>
  30. </html>