{% embed '/frontend-eforum/_partials/header.html.twig' %} {%- block metaTitle -%} {%- if product is defined and product is not empty and product.metaTags is not empty -%} {{- product.metaTags.title -}} {%- endif -%} {%- endblock -%} {%- block metaDescription -%} {%- if product is defined and product is not empty and product.metaTags is not empty -%} <meta name="description" content="{{- product.metaTags.description -}}"> {%- endif -%} {%- endblock -%} {%- block seoHeadScripts -%} {%- if product is defined and product is not empty and product.metaTags is not empty -%} {{- product.metaTags.headScripts -}} {%- endif -%} {%- endblock -%} {%- block seoBodyScripts -%} {%- if product is defined and product is not empty and product.metaTags is not empty -%} {{- product.metaTags.bodyScripts -}} {%- endif -%} {%- endblock -%}{% endembed %}{% set injectBreadcrumbs = false %}{% if modules.withoutSidebar.top is not empty %} {% set firstTopModule = (modules.withoutSidebar.top|keys)[0]|split("_")[0] %} {% if firstTopModule == 'productBanner' or firstTopModule == 'faqTop' %} {% set injectBreadcrumbs = firstTopModule %} {% endif %}{% endif %}{% if injectBreadcrumbs == false %} {% include "frontend-eforum/_partials/breadcrumbs.html.twig" %}{% endif %}{% if product.useHtmlLanding == false %} {% include "frontend-eforum/content.html.twig" with { modules: modules.withoutSidebar.top, injectBreadcrumbs: injectBreadcrumbs, productsInCategory : modules.productsInCategory } %} <div class="site-wrapper__bg" style="background-image:url(/build/images/jumbotron-front_page.jpg)"></div> <section class="product-overview" id="product-overview"> {% if modules.sideBarList is not empty %} {% include "frontend-eforum/_partials/nav.html.twig" with { list: modules.sideBarList } %} {% endif %} {% include "frontend-eforum/content.html.twig" with { modules: modules.withSidebar, productsInCategory : modules.productsInCategory } %} </section> {% include "frontend-eforum/content.html.twig" with { modules: modules.withoutSidebar.bottom, position: "bottom", productsInCategory : modules.productsInCategory } %}{% else %} {% include "frontend-eforum/_partials/modules/customLanding.html.twig" %}{% endif %}{% embed "frontend-eforum/footer.html.twig" with {footerModules: modules.footerInjected} %} {% block javascripts %} {% if product.customScripts is not empty %} <script type="text/javascript"> {{ product.customScripts|raw }} </script> {% endif %} {% if(dataLayer is defined and dataLayer) %} <script> window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'ecomm_prodid' : '{{ dataLayer.ecomm_prodid }}', 'ecomm_pagetype' : '{{ dataLayer.ecomm_pagetype }}', 'ecomm_totalvalue' :'{{ dataLayer.ecomm_totalvalue }}', 'ecomm_category': '{{ dataLayer.ecomm_category }}' }); </script> {% endif %} {% endblock %}{% endembed %}