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

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_body_classes %}
  3.     {{ parent() }} {{ theme_config('rhweb-custom-body-class') }}
  4. {% endblock %}
  5. {% block base_header %}
  6.     {% block layout_top_bar %}
  7.         <div class="rhweb-topbar">
  8.             <div class="container">
  9.                 {% sw_include '@Storefront/storefront/layout/header/top-bar.html.twig' %}
  10.             </div>
  11.         </div>
  12.     {% endblock %}
  13.     {{ parent() }}
  14. {% endblock %}
  15. {% block base_footer %}
  16.     {% if theme_config('rhweb-footer-activate-newsletter') and theme_config('rhweb-newsletter-position') != 'column' %}
  17.         {% sw_include '@Storefront/storefront/rhweb-custom/snippets/footer/rhweb-newsletter.html.twig' with{
  18.             position: 'footer-above'
  19.         } %}
  20.     {% endif %}
  21.     {{ parent() }}
  22. {% endblock %}
  23. {% block base_body_script %}
  24.     {{ parent() }}
  25.     {% if theme_config('rhweb-custom-js') %}
  26.         <script>
  27.             {{ theme_config('rhweb-custom-js') | raw }}
  28.         </script>
  29.     {% endif %}
  30. {% endblock %}