templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
  5.     <title>{% block title %}{% endblock %} {% if 'index_route' != app.request.get('_route') %} | {% endif %} FW Thorpe Plc</title>
  6.     <link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
  7.     <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
  8.     <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
  9.     <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
  10.     <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
  11.     <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
  12.     <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
  13.     <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
  14.     <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
  15.     <link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
  16.     <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  17.     <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
  18.     <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  19.     <link rel="stylesheet" href="https://use.typekit.net/ozg7mlp.css">
  20.     <link rel="manifest" href="/manifest.json">
  21.     <meta name="msapplication-TileColor" content="#ffffff">
  22.     <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
  23.     <meta name="theme-color" content="#ffffff">
  24.     {%~ block stylesheets -%}
  25.         {{ encore_entry_link_tags('app') }}
  26.     {%~ endblock %}
  27. </head>
  28. <body>
  29. {% include 'partials/top-nav.html.twig' %}
  30. <div class="overflow-hidden position-relative w-100" id="page">
  31.     {%~ block body %}{% endblock %}
  32. </div>
  33. {% include 'partials/bottom.html.twig' %}
  34. {%- block javascripts %}
  35.     {{ encore_entry_script_tags('app') }}
  36.     {%~ if get_env() == 'prod' %}
  37.         <script async src="https://www.googletagmanager.com/gtag/js?id=G-MXWZQNT08X"></script>
  38.         <script>
  39.             window.dataLayer = window.dataLayer || [];
  40.             function gtag() {
  41.                 dataLayer.push(arguments);
  42.             }
  43.             gtag('js', new Date());
  44.             gtag('config', 'G-MXWZQNT08X');
  45.         </script>
  46.     {%~ else %}
  47.         <!-- Analytics disabled -->
  48.     {% endif %}
  49. {%~ endblock %}
  50. </body>
  51. </html>