templates/partials/_head.html.twig line 1

Open in your IDE?
  1. <meta charset="utf-8">
  2. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no, user-scalable=no">
  3. <meta name="google-site-verification" content="SM-kOo-dLpG9e0jKofC5YbCU55tt9JrWvAYOzBTBdpo" />
  4. {% if no_index == 'true' %}
  5. <meta name="robots" content="noindex, nofollow" />
  6. {% else %}
  7. <meta name="robots" content="index, follow" />
  8. {% endif %}
  9. {% if overrideSeoTitle is defined %}
  10.     <title>{{ overrideSeoTitle }}</title>
  11. {% else %}
  12.     {{ sonata_seo_title() }}
  13. {% endif %}
  14. {{ sonata_seo_metadatas() }}
  15. <meta name="author" content="">
  16. <link rel="icon" href="{{ asset('favicon.ico') }}?v=1" />
  17. <link href="{{ asset('assets/css/global.css') }}?v=1" rel="stylesheet" />
  18. {% if app.environment == 'prod' or app.environment == 'PROD' %}
  19.     {% if app.request.cookies.get('cookie_ga') == 'true' %}
  20.         <!-- Google Tag Manager -->
  21.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  22.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  23.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  24.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  25.         })(window,document,'script','dataLayer','GTM-KXCZ6DN');</script>
  26.         <!-- End Google Tag Manager -->
  27.     {% endif %}
  28.     
  29.     {% if app.request.cookies.get('cookie_tiktok') == 'true' %}
  30.         <!-- TikTok Pixel Code Start --> <script> !function (w, d, t) { w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for( var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner;ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=r,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement("script") ;n.type="text/javascript",n.async=!0,n.src=r+"?sdkid="+e+"&lib="+t;e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(n,e)}; ttq.load('CT836LRC77U74JDR0T2G'); ttq.page(); }(window, document, 'ttq'); </script> 
  31.         <!-- TikTok Pixel Code End -->
  32.     {% endif %}
  33. {% endif %}
  34. <style>
  35.   .goog-te-menu-frame {
  36.     max-width:100% !important; 
  37.   }
  38.   .goog-te-combo {
  39.     max-width:100% !important; 
  40.   }
  41.   .goog-te-menu2 { 
  42.       max-width: 100% !important;
  43.       overflow-x: scroll !important;
  44.       box-sizing:border-box !important; 
  45.       height:auto !important; 
  46.   }
  47. </style>