templates/product.html.twig line 33

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. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  8. <meta http-equiv="Pragma" content="no-cache" />
  9. <meta http-equiv="Expires" content="0" />
  10. {% include 'Includes/head/headPart1.html.twig' with {'document': document} %}
  11. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/slick.css')) %}
  12. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/slick-theme.css')) %}
  13. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/app.css')) %}
  14. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/image-picker.css')) %}
  15. {% include 'Includes/head/headPart2.html.twig' %}
  16. {% include 'Includes/head/headPart3.html.twig' %}
  17. <body class="">
  18.   <!-- main container of all the page elements -->
  19.   <div id="wrapper">
  20.     <!-- header of the page -->
  21.     
  22.     {% include 'Includes/topnav.html.twig' with {'country': country, 'locale' : locale, 'params':params, 'preview':'preview'} %}
  23.     
  24.    <main id="main" role="main">
  25.       
  26.       {{ block('content') }}
  27.     </main>
  28.   </div>
  29.   <!-- footer of the page -->
  30. {% set navStartNode = getNavStartNode() %}
  31. {{ pimcore_inc('/' ~ navStartNode.getKey() ~ '/en_us/shared/footer') }}
  32. </body>
  33. <script>
  34. $(document).ready(function(){
  35.   $('a[href*="en_US"]').each(function() {
  36.     this.href = this.href.replace('en_US','en_us');
  37.   })
  38. })
  39. </script>
  40. </html>