templates/layout/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en-US" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
  3. <head>
  4.     <meta charset="utf-8"/>
  5.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.     <meta name='robots' content='max-image-preview:large'/>
  7.     <meta name="msapplication-TileColor" content="#4097ff">
  8.     <meta name="theme-color" content="#ffffff">
  9.     <title>{% block title %}ICF Technology{% endblock %}</title>
  10.     <link rel='dns-prefetch' href='//maps.googleapis.com'/>
  11.     <link rel='dns-prefetch' href='//cdn.jsdelivr.net'/>
  12.     <link rel='dns-prefetch' href='//www.google.com'/>
  13.     <link rel='dns-prefetch' href='//s.w.org'/>
  14.     {#        <link rel="pingback" href="https://icftechnology.com/xmlrpc.php"> #}
  15.     <link rel="alternate" hreflang="en" href="{% block seo_en %}{{ url('home_index') }}{% endblock %}"/>
  16.     <link rel="alternate" hreflang="hu" href="{% block seo_hu %}{{ url('home_index', {'lang': 'hu'}) }}{% endblock %}"/>
  17.     <link rel="alternate" hreflang="x-default" href="{% block seo_x %}{{ url('home_index') }}{% endblock %}"/>
  18.     <link rel="mask-icon" href="{{ asset('img/app/safari-pinned-tab.svg') }}" color="#4097ff">
  19.     <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('img/app/apple-touch-icon.png') }}">
  20.     <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('img/app/favicon-32x32.png') }}">
  21.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('img/app/favicon-16x16.png') }}">
  22.     <meta property="og:title" content="{{ block('title') }}">
  23.     <meta property="og:type" content="website" />
  24.     <meta property="og:url" content="{{ app.request.uri }}" />
  25.     {% if og_image is defined %}
  26.         <meta property="og:image" content="{{ og_image }}" />
  27.     {% endif %}
  28.     {% if og_image_size is defined %}
  29.         <meta property="og:image:width" content="{{ og_image_size[0] }}" />
  30.         <meta property="og:image:height" content="{{ og_image_size[1] }}" />
  31.     {% endif %}
  32.     {% if og_description is defined %}
  33.         <meta property="og:description" content="{{ og_description | strimwidth(0, 200) }}" />
  34.     {% endif %}
  35.     {#        <link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'> #}
  36.     {#        <link rel="manifest" href="https://icftechnology.com/wp-content/themes/icf-website/site.webmanifest"> #}
  37.     <script src="https://unpkg.com/@lottiefiles/lottie-player@0.4.0/dist/lottie-player.js"></script>
  38.     <script src="https://unpkg.com/@lottiefiles/lottie-interactivity@latest/dist/lottie-interactivity.min.js"></script>
  39.     <script type='text/javascript' id='tag-manager-js-after'>
  40.         window.dataLayer = window.dataLayer || [];
  41.         function gtag() {
  42.             dataLayer.push(arguments);
  43.         }
  44.         gtag("js", new Date());
  45.         gtag("config", "GTM-KRNG4K7");
  46.     </script>
  47.     <!-- Google Tag Manager -->
  48.     <script>(function (w, d, s, l, i) {
  49.             w[l] = w[l] || [];
  50.             w[l].push({
  51.                 'gtm.start':
  52.                     new Date().getTime(), event: 'gtm.js'
  53.             });
  54.             var f = d.getElementsByTagName(s)[0],
  55.                 j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
  56.             j.async = true;
  57.             j.src =
  58.                 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
  59.             f.parentNode.insertBefore(j, f);
  60.         })(window, document, 'script', 'dataLayer', 'GTM-MKB5MNT');</script>
  61.     <!-- End Google Tag Manager -->
  62.     {% block stylesheets %}{{ encore_entry_link_tags('app') }}{% endblock %}
  63.     {% block helmet %}{% endblock %}
  64. </head>
  65. <body class="{% block body_classes %}{% endblock %}">
  66. {% include 'layout/header.html.twig' %}
  67. {% block content %}
  68.     content
  69. {% endblock %}
  70. {% if location is not defined %}
  71.     {% include 'layout/footer.html.twig' %}
  72. {% else %}
  73.     {% include 'layout/footer.html.twig' with { data: location } only %}
  74. {% endif %}
  75. {% block javascripts %}
  76.     {{ encore_entry_script_tags('app') }}
  77.     <script src="https://www.google.com/recaptcha/api.js" async defer></script>
  78. {% endblock %}
  79. </body>
  80. </html>