themes/BootstrapTheme/templates/bundles/SyliusShopBundle/layout.html.twig line 90

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|slice(0, 2) }}">
  3.     <head>
  4.         <!-- Google Tag Manager -->
  5.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  6.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  7.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  8.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  9.             })(window,document,'script','dataLayer','GTM-MMQ4VXFV');</script>
  10.         <!-- End Google Tag Manager -->
  11.         <meta charset="utf-8">
  12.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  13.         {% set _title_no_tag = block('title_no_tag') ?? '' %}
  14.         {% if _title_no_tag is not empty %}
  15.             {{ _title_no_tag|raw }}
  16.         {% else %}
  17.             <title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
  18.         {% endif %}
  19.     <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  20.     {{ app_get_google_tag_manager_datalayer() }}
  21.     {% block metatags %}
  22.         {% set metaDescription = sylius_template_event('dedi_sylius_seo_plugin.metatags', { resource: product ?? sylius.channel }) %}
  23.         {{ sylius_template_event('dedi_sylius_seo_plugin.rich_snippets') }}
  24.         {% if metaDescription is empty %}
  25.             <meta name="description" content="{{ sylius.channel.description}}">
  26.         {% else %}
  27.             {{ metaDescription|raw }}
  28.         {% endif %}
  29.     {% endblock %}
  30.     {% set canonicalList = app_get_canonical_link(app.request) %}
  31.     {% if canonicalList is not null %}
  32.         <link rel="canonical" href="{{ canonicalList[sylius.localeCode] }}" />
  33.     {% endif %}
  34.     {% for key,value in canonicalList %}
  35.         <link rel="alternate" href="{{ value }}" hreflang="{{ key }}" />
  36.     {% endfor %}
  37.         <link rel="stylesheet" href="https://use.typekit.net/icm3oad.css">
  38.         {% block stylesheets %}
  39.             {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  40.         {% endblock %}
  41.         {{ sylius_template_event('sylius.shop.layout.head') }}
  42.     </head>
  43.     <body class="body-{{app.request.attributes.get('_route')}}">
  44.     <!-- Google Tag Manager (noscript) -->
  45.     <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MMQ4VXFV"
  46.                       height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  47.     <!-- End Google Tag Manager (noscript) -->
  48.         {{ sylius_template_event('sylius.shop.layout.before_body') }}
  49.         {% include '@SyliusShop/Product/_popupAddToCart.html.twig' %}
  50.         <section class="big-wrapper">
  51.             {% block top %}
  52.             {% endblock %}
  53.             {% block header %}
  54.                 <div class="menu-mob-overlay"></div>
  55.                 <header class="header-body">
  56.                 {{ sylius_template_event('sylius.shop.layout.header') }}
  57.                 </header>
  58.             {% endblock %}
  59.             <section class="main-content page-content">
  60.                 <div class="container p-lg-0 my-0">{% include '@SyliusShop/_flashes.html.twig' %}</div>
  61.                 <div class="fixed-devis">
  62.                     <a href="{{ path('app_shop_project_simulation') }}" class="transition-bgcolor" title="{{'app.project_simulation.simulate_my_project'|trans}}">
  63. {#                        <strong class="icon-devis"><img src="{{asset('images/ico_calculate.svg')}}" alt=""/></strong>#}
  64.                         <span class="has-bg-devis d-block font-seize">{{'app.project_simulation.simulate_my_project'|trans}}</span>
  65.                         <em>{{'app.common.in_time_minutes'|trans}}</em>
  66.                         <i class="icon-right-open-big color-orange"></i>
  67.                     </a>
  68.                 </div>
  69.                 {{ sylius_template_event('sylius.shop.layout.before_content') }}
  70.                 {% block content %}
  71.                 {% endblock %}
  72.                 {{ sylius_template_event('sylius.shop.layout.after_content') }}
  73.             </section>
  74.             {% block footer %}
  75.                 {% include '@SyliusShop/_footer.html.twig' %}
  76.             {% endblock %}
  77.             {{ sylius_template_event('sylius.shop.layout.after_body') }}
  78.             <div class="loading-overlay" data-js-loading-overlay>
  79.                 <div class="spinner-border" role="status">
  80.                     <span class="sr-only">Loading...</span>
  81.                 </div>
  82.             </div>
  83.         </section>
  84.         {#<div class="menu-overlay"></div>#}
  85.         <div class="goToTop bg-gradient-orange bg-gradient-hover transition-bgcolor"><img src="{{ asset('images/top_go.png')}}" alt="" /></div>
  86.         {% include "@CHCookieConsent/cookie_consent_styling.html.twig" %}
  87.         {{ render_esi(path('ch_cookie_consent.show', { 'locale' : sylius.localeCode })) }}
  88.         {% block javascripts %}
  89.             {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  90.         {% endblock %}
  91.     </body>
  92. </html>