templates/default/default.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.         <link rel="icon" type="image/x-icon" href="/static/icons/favicon.ico">
  8.         {% block metaTags %}
  9.             <title>{{ document.getTitle() }}</title>
  10.             <meta name="description" content="{{ document.getDescription() }}"></meta>
  11.         {% endblock %}
  12.         {# {% spaceless %} #}
  13.                 {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  14.                 {# we use the view helper to have cache buster functionality #}
  15.                 {% do pimcore_head_link().appendStylesheet(asset('static/css/index.css')) %}
  16.                 {% do pimcore_head_script().appendFile(asset('static/js/index.js')) %}
  17.         {# {% endspaceless %} #}
  18.         <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="87a313c2-6ae9-4f6e-8518-9ca0f062b46b"
  19.             data-culture="{{ app.request.getLocale() }}"
  20.             data-blockingmode="auto" type="text/javascript" defer></script>
  21.         {% block head_stylesheets deferred %}
  22.             {{ pimcore_head_link() }}
  23.         {% endblock %}
  24.         <!-- Hotjar Tracking Code for https://meddox.com/hr -->
  25.         <script data-cookieconsent="statistics, marketing">
  26.             (function(h,o,t,j,a,r){
  27.                 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
  28.                 h._hjSettings={hjid:2756418,hjsv:6};
  29.                 a=o.getElementsByTagName('head')[0];
  30.                 r=o.createElement('script');r.async=1;
  31.                 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
  32.                 a.appendChild(r);
  33.             })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
  34.         </script>
  35.         <!-- Google Tag Manager -->
  36.         <script data-cookieconsent="statistics, marketing">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  37.             new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  38.             j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  39.             'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  40.         })(window,document,'script','dataLayer','GTM-PWBHSTX');</script>
  41.         <!-- End Google Tag Manager -->
  42.     </head>
  43.     <body>
  44.         <!-- Google Tag Manager (noscript) -->
  45.         <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PWBHSTX"
  46.             height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  47.         <!-- End Google Tag Manager (noscript) -->
  48.         {% set isMobile = app.request.get('isMobile') %}
  49.         {% block header %}
  50.             {% if document is defined and document %}
  51.                 {% if document.getProperty('header') and not isMobile %}
  52.                     {# ------------------------------------------------------------------------------------------------------------------------------------------- #}
  53.                     {% if blog_post.id is defined %}
  54.                         {{ pimcore_inc(document.getProperty('header').getRealFullpath(), { 'realDocument': document, 'blogPostId': blog_post.id }) }}
  55.                     {% else %}
  56.                         {{ pimcore_inc(document.getProperty('header').getRealFullpath(), { 'realDocument': document }) }}
  57.                     {% endif %}
  58.                     {# ------------------------------------------------------------------------------------------------------------------------------------------- #}
  59.                 {% endif %}
  60.             {% endif %}
  61.         {% endblock %}
  62.         {% block content %}
  63.             {{ pimcore_areablock('mainAreaBlock') }}
  64.         {% endblock %}
  65.         {% block modals %}
  66.         {% endblock %}
  67.         {% include 'components/modals/newsletter-modal.html.twig' %}
  68.         {% block footer %}
  69.             {% if not isMobile %}
  70.                 <div {{ document.getProperty('bgGray') or bgGray is defined and bgGray ? 'style=background-color:#EFF1F3;' }}>
  71.                     {% if document is defined and document %}
  72.                         {% if document.getProperty('footer') %}
  73.                             {{ pimcore_inc(document.getProperty('footer').getRealFullpath(), {isMobile: isMobile}) }}
  74.                         {% endif %}
  75.                     {% endif %}
  76.                 </div>
  77.             {% endif %}
  78.         {% endblock %}
  79.         {% block scripts deferred %}
  80.             {{ pimcore_head_script() }}
  81.             <script>
  82.                 window.locale = '{{ app.request.getLocale }}';
  83.                 window.cookieMessageText = '{{ "video.cookies.text"|trans }}';
  84.                 window.cookieMessageLink = '{{ "video.cookies.link"|trans }}';
  85.             </script>
  86.         {% endblock %}
  87.     </body>
  88. </html>