custom/plugins/SMTheme/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2.     {# Set variable to "true" to enable HMR (hot page reloading) mode #}
  3. {% set isHMRMode = true %}
  4.     {% block base_body_inner %}
  5.         {% block base_noscript %}
  6.             <noscript class="noscript-main">
  7.                 {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with {
  8.                     type: 'info',
  9.                     content: 'general.noscriptNotice'|trans|sw_sanitize
  10.                 } %}
  11.             </noscript>
  12.         {% endblock %}
  13.         {% block base_info %}
  14.             <div class="info-main">
  15.                 <div class="container">
  16.                 {% block base_info_inner %}
  17.                     {% sw_include '@Storefront/storefront/layout/info/info.html.twig' %}
  18.                 {% endblock %}
  19.                 </div>
  20.             </div>
  21.         {% endblock %}
  22.         {% block base_navigation %}
  23.             <div class="nav-main">
  24.                 <div class="container d-flex">
  25.                 {% block base_navigation_inner %}
  26.                     {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  27.                 {% endblock %}
  28.                 </div>
  29.             </div>
  30.         {% endblock %}
  31.         {% block base_offcanvas_navigation %}
  32.             {% if page.header.navigation %}
  33.                 <div class="d-none js-navigation-offcanvas-initial-content{% if context.salesChannel.navigationCategoryId == page.header.navigation.active.id %} is-root{% endif %}">
  34.                     {% block base_offcanvas_navigation_inner %}
  35.                         {% sw_include '@Storefront/storefront/layout/navigation/offcanvas/navigation.html.twig' with { navigation: page.header.navigation } %}
  36.                     {% endblock %}
  37.                 </div>
  38.             {% endif %}
  39.         {% endblock %}
  40.         <div class="hintergrund">
  41.         {% block base_header %}
  42.             <header class="header-main">
  43.                 {% block base_header_inner %}
  44.                     <div class="container">
  45.                         {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
  46.                     </div>
  47.                 {% endblock %}
  48.             </header>
  49.         {% endblock %}
  50.         {% block base_main %}
  51.             <main class="content-main">
  52.                 {% block base_flashbags %}
  53.                     <div class="flashbags container">
  54.                         {% for type, messages in app.flashes %}
  55.                             {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: type, list: messages } %}
  56.                         {% endfor %}
  57.                     </div>
  58.                 {% endblock %}
  59.                 <div class="container">
  60.                 {% block base_main_inner %}
  61.                         {% block base_main_container %}
  62.                             <div class="container-main">
  63.                                 {% block base_breadcrumb %}
  64.                                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  65.                                         context: context,
  66.                                         category: page.product.seoCategory
  67.                                     } only %}
  68.                                 {% endblock %}
  69.                                 {% block base_content %}{% endblock %}
  70.                             </div>
  71.                         {% endblock %}
  72.                 {% endblock %}
  73.                 </div>
  74.             </main>
  75.         {% endblock %}
  76.         </div>
  77.         {% block base_footer %}
  78.             <footer class="footer-main">
  79.                 {% block base_footer_inner %}
  80.                     {% sw_include '@Storefront/storefront/layout/footer/footer.html.twig' %}
  81.                 {% endblock %}
  82.             </footer>
  83.         {% endblock %}
  84.     {% endblock %}