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. {% if no_index == 'true' %}
  4. <meta name="robots" content="noindex, nofollow" />
  5. {% else %}
  6. <meta name="robots" content="index, follow" />
  7. {% endif %}
  8. {% if overrideSeoTitle is defined %}
  9.     <title>{{ overrideSeoTitle }}</title>
  10. {% else %}
  11.     {{ sonata_seo_title() }}
  12. {% endif %}
  13. {{ sonata_seo_metadatas() }}
  14. <meta name="author" content="">
  15. <link rel="icon" href="{{ asset('favicon.ico') }}?v=1" />
  16. <link href="{{ asset('assets/css/global.css') }}?v=2" rel="stylesheet" />
  17. {% if app.environment == 'prod' or app.environment == 'PROD' %}
  18.     <!-- Google Tag Manager -->
  19.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  20.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  21.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  22.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  23.     })(window,document,'script','dataLayer','GTM-KXCZ6DN');</script>
  24.     <!-- End Google Tag Manager -->
  25. {% endif %}