templates/layout.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     {% include 'includes/google-tagmanager.html.twig' %}
  5.     <meta charset="UTF-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7.     <meta name="p:domain_verify" content="37180786e857d219eed8f9312cd5f3cb"/>
  8.     <!-- FB Pixel -->
  9.     <meta name="facebook-domain-verification" content="v89hx6hcvwe8w1b4qomgelokpgzfap" />
  10.     {% include 'includes/favicon.html.twig' %}
  11.     {% apply spaceless %}
  12.         {% if not document is defined or not document %}
  13.             {% set document = pimcore_document(1) %}
  14.         {% endif %}
  15.         {% if document is instanceof('\\Pimcore\\Model\\Document\\Link') %}
  16.             {# @var document \Pimcore\Model\Document\Link #}
  17.             {% set document = document.getObject() %}
  18.         {% endif %}
  19.         {% if document.getTitle() is not empty %}
  20.             {% do pimcore_head_title().set(document.getTitle()) %}
  21.         {% endif %}
  22.         {% if document.getDescription() is not empty %}
  23.             {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  24.         {% endif %}
  25.         {% do pimcore_head_title().append(' GC Architecten') %}
  26.         {% do pimcore_head_title().setSeparator(' | ') %}        
  27.     {% endapply %}
  28.     {% block layout_head_meta deferred %}
  29.         {{ pimcore_head_title() }}
  30.         {{ pimcore_head_meta() }}
  31.         {% if pimcore_placeholder('canonical').count() %}
  32.             <link rel="canonical" href="{{ pimcore_placeholder('canonical') }}"/>
  33.         {% endif %}
  34.     {% endblock %}
  35.     {% block stylesheets %}
  36.         <style type="text/css">
  37.         .overlay, .ntr-cookies.hidden { opacity: 0; pointer-events: none; }
  38.         </style>
  39.         {{ vite_entry_link_tags('app-css') }}
  40.     {% endblock %}
  41.     {% block head_stylesheets deferred %}
  42.         {{ pimcore_head_link() }}
  43.     {% endblock %}
  44.     {% apply spaceless %}
  45.         <script>
  46.         (function(d) {
  47.             var config = {
  48.             kitId: 'cyp5dwu',
  49.             scriptTimeout: 3000,
  50.             async: true
  51.             },
  52.             h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
  53.         })(document);
  54.         </script>
  55.         {{ vite_entry_script_tags('priority-js') }}
  56.     {% endapply %}
  57. </head>
  58. <body class="">
  59.     <!-- Google Tag Manager (noscript) -->
  60.     <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T58Z3N3"
  61.                       height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  62.     <!-- End Google Tag Manager (noscript) -->
  63.     <div id="site">
  64.         {% include 'includes/header.html.twig' %}
  65.         {{ block('content') }}
  66.         <div class="main my-0 py-0">{% include 'includes/cta-bottom.html.twig' %}</div>
  67.         {{ pimcore_inc('/' ~ app.request.locale ~ '/vaste-blokken/footer') }}
  68.         {% include 'includes/cookies.html.twig' %}
  69.     </div>
  70.     {% block javascripts %}
  71.         {{ vite_entry_script_tags('app-js') }}
  72.     {% endblock %}
  73.     <script>
  74.     /*
  75.         function scrollWin() {
  76.             window.scrollTo(0, 1100);
  77.         }
  78.         $(document).ready(function() {
  79.             $(window).scroll(function(e) {
  80.                 if ($(window).scrollTop() > 10) {
  81.                     $('.logo_flex').addClass("d-none");
  82.                     $('.header-logo').addClass("d-block");
  83.                     $('.header-logo').removeClass("d-none");
  84.                 }
  85.             });
  86.         });
  87.         */
  88.     </script>
  89. </body>
  90. </html>