templates/views/product.html.twig line 44

Open in your IDE?
  1. {% set isPortal = ((isPortal is defined) and isPortal) %}
  2. {% if not document is defined or not document %}
  3.     {% set document = pimcore_document(1) %}
  4.   {% endif %}
  5. <!DOCTYPE html>
  6. <html lang="en">
  7. {% include 'Includes/head/headPart1.html.twig' with {'document': document} %}
  8. <!-- Include layout-specific css references here -->
  9. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/slick.css')) %}
  10. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/slick-theme.css')) %}
  11. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/app.css')) %}
  12. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/image-picker.css')) %}
  13. {% include 'Includes/head/headPart2.html.twig' %}
  14. {% include 'Includes/head/headPart3.html.twig' %}
  15. <body class="">
  16.   <!-- main container of all the page elements -->
  17.   <div id="wrapper">
  18.     <!-- header of the page -->
  19.     {% include 'Includes/topnav.html.twig' with {'country': country, 'locale' : locale, 'params':'', 'preview':'preview'} %}
  20.     
  21.     <!-- contain main informative part of the site -->
  22.     <main id="main" role="main">
  23.       
  24.       {{ block('content') }}
  25.     </main>
  26.   </div>
  27.   <!-- footer of the page -->
  28.  
  29. {% set navStartNode = getNavStartNode() %}
  30. {{ pimcore_inc('/' ~ navStartNode.getKey() ~ '/en_us/shared/footer') }}
  31. </body>
  32. <script>
  33. $(document).ready(function(){
  34.   $('a[href*="en_US"]').each(function() {
  35.     this.href = this.href.replace('en_US','en_us');
  36.   })
  37. })
  38. </script>
  39. </html>