themes/BootstrapChildTheme/SyliusShopBundle/views/Homepage/index.html.twig line 25

Open in your IDE?
  1. {% extends '@SyliusShop/layout.html.twig' %}
  2. {% block stylesheets %}
  3.     {{ parent() }}
  4.     {{ encore_entry_link_tags('shop-homepage', null, 'bootstrapTheme') }}
  5. {% endblock %}
  6. {% block javascripts %}
  7.     {{ parent() }}
  8.     {{ encore_entry_script_tags('shop-homepage', null, 'bootstrapTheme') }}
  9. {% endblock %}
  10. {% block main_content %}
  11.     <main class="main-container">
  12.         {% block flashes %}
  13.             <div class="container-fluid my-4">
  14.                 {% include '@SyliusShop/_flashes.html.twig' %}
  15.             </div>
  16.         {% endblock %}
  17.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  18.         {% block content %}
  19.             <div class="homepage mt-xl-7">
  20.                 {{ sylius_template_event('sylius.shop.homepage', _context|merge({'homepage': true})) }}
  21.             </div>
  22.         {% endblock %}
  23.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  24.     </main>
  25. {% endblock %}