templates/bundles/SyliusShopBundle/layout.html.twig line 52

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|slice(0, 2) }}">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
  7.     <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  8.     {% block metatags %}
  9.     {% endblock %}
  10.     {% block stylesheets %}
  11.         {{ encore_entry_link_tags('shop', null, 'shop') }}
  12.     {% endblock %}
  13.     {{ sylius_template_event('sylius.shop.layout.head') }}
  14. </head>
  15. <body class="pushable">
  16. {{ sylius_template_event('sylius.shop.layout.before_body') }}
  17. <div class="pusher">
  18.     {% block top %}
  19.         <div id="menu" class="ui equal width grid large sticky stackable menu">
  20.             <div class="row">
  21.                 {{ sylius_template_event('sylius.shop.layout.topbar') }}
  22.             </div>
  23.             <div class="row hiddenMobile">
  24.                 <div class="ui column centered grid">
  25.                     <div class="four column centered row Layout_Topmenu_dropdown">
  26.                         {{ sylius_template_event('sylius.shop.layout.top_menu') }}
  27.                     </div>
  28.                 </div>
  29.             </div>
  30.         </div>
  31.     {% endblock %}
  32.     <div class="ui container">
  33.         {% block header %}
  34.             <header>
  35.                 {{ sylius_template_event('sylius.shop.layout.header') }}
  36.             </header>
  37.         {% endblock %}
  38.         {% include '@SyliusShop/_flashes.html.twig' %}
  39.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  40.         {% block content %}
  41.         {% endblock %}
  42.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  43.         {% if app.request.cookies.get('accept_cookies') is empty %}
  44.             {% include '@SyliusShop/cookies.html.twig' %}
  45.         {% endif %}
  46.         {% if app.request.cookies.get('accept_cookies') is not empty and app.request.cookies.get('accept_cookies', true) %}                
  47.             {% include '@SyliusShop/analytics.html.twig' %}
  48.         {% endif %}
  49.     </div>
  50.     {% block footer %}
  51.         {% include '@SyliusShop/_footer.html.twig' %}
  52.     {% endblock %}
  53. </div>
  54. {% block javascripts %}
  55.     {{ encore_entry_script_tags('shop', null, 'shop') }}
  56. {% endblock %}
  57. {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  58. {{ sylius_template_event('sylius.shop.layout.after_body') }}
  59. </body>
  60. </html>