templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3.     <head>
  4.         {% if app.environment == 'prod' %}
  5.           <script>dataLayer = [{'pageType': 'tunnel de reservation', 'userLogged': 'non logue'}];</script>
  6.           <!-- Google Tag Manager -->
  7.           <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  8.           new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  9.           j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  10.           'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  11.           })(window,document,'script','dataLayer','{{ google_tag_manager_container }}');</script>
  12.           <!-- End Google Tag Manager -->
  13.         {% endif %}
  14.         <meta charset="UTF-8">
  15.         <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
  16.           <meta name=”format-detection” content=”telephone=no”>
  17.         <meta name="robots" content="noindex, nofollow">
  18.         <link rel="icon" type="image/x-icon" href="{{ asset('build/images/favicon.jpg') }}" />
  19.         <link rel="shortcut icon" href="{{ asset('build/images/favicon.jpg') }}" type="image/x-icon" />
  20.         
  21.         <title>{% block title %}Welcome!{% endblock %}</title>
  22.         {% block stylesheets %}
  23.           {{ encore_entry_link_tags('app') }}
  24.           <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap">
  25.           <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap">
  26.          
  27.         {% endblock %}
  28.     </head>
  29.     <body>
  30.          {% if app.environment == 'prod' %}
  31.          <!-- Google Tag Manager (noscript) -->
  32.         <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ google_tag_manager_container }}"
  33.         height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  34.         <!-- End Google Tag Manager (noscript) -->
  35.         {% endif %}
  36.         {% block header %}
  37.           {{ include('header.html.twig') }}
  38.         {% endblock %}
  39.         
  40.         {% block bannerTop %}
  41.           {{ include('bannerTop.html.twig') }}
  42.         {% endblock %}
  43.         
  44.         {% block breadcrumb %}
  45.           {{ include('breadcrumb.html.twig', 
  46.               {
  47.                 'active1': 'active', 'active2': '', 'active3': '', 'active4': '',
  48.                 'selected1': '', 'selected2': '', 'selected3': '', 'selected4':''
  49.               }) }}
  50.         {% endblock %}
  51.         
  52.         {% block body %}{% endblock %}
  53.         
  54.         {% block footer %}{% endblock %}
  55.         
  56.         {% block bannerBottom %}
  57.           {{ include('bannerBottom.html.twig') }}
  58.         {% endblock %}
  59.         
  60.         {% block javascripts %}
  61.           {{ encore_entry_script_tags('app') }}
  62.           <script src="https://cdn.polyfill.io/v3/polyfill.js"></script>
  63.           {% if use_captcha %}
  64.           <script type="text/javascript" src="{{ asset('build/js/recaptcha.js') }}"></script>
  65.           <script async defer type="text/javascript" src="//www.google.com/recaptcha/api.js?onload=onGoogleReCaptchaLoad&render=explicit"></script>
  66.           {% endif %}
  67.           <script type="text/javascript">
  68.             {{ include('javascript/LMDVMessages.js') }}
  69.           </script>
  70.           <script type="text/javascript" src="{{ asset('build/js/lmdv_global.js') }}"></script>
  71.           <script type="text/javascript" src="{{ asset('build/js/mediaqueries.js') }}"></script>
  72.         {% endblock %}
  73.         <div id="preload" class="preload">
  74.             <!-- https://tobiasahlin.com/spinkit/ -->
  75.             <div class="sk-chase">
  76.               <div class="sk-chase-dot"></div>
  77.               <div class="sk-chase-dot"></div>
  78.               <div class="sk-chase-dot"></div>
  79.               <div class="sk-chase-dot"></div>
  80.               <div class="sk-chase-dot"></div>
  81.               <div class="sk-chase-dot"></div>
  82.             </div>
  83.         </div>
  84.         
  85.         <a href="tel:{{ LMDV_getTelephone() }}" class="telephone-sticky {% if LMDV_getTelephone() is empty %}visually-hidden{% endif %}">
  86.           <div class="phone-icon">
  87.             <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 448">
  88.               <title></title>
  89.               <g id="icomoon-ignore"></g>
  90.               <path d="M352 310c0 9-4 26.5-7.75 34.75-5.25 12.25-19.25 20.25-30.5 26.5-14.75 8-29.75 12.75-46.5 12.75-23.25 0-44.25-9.5-65.5-17.25-15.25-5.5-30-12.25-43.75-20.75-42.5-26.25-93.75-77.5-120-120-8.5-13.75-15.25-28.5-20.75-43.75-7.75-21.25-17.25-42.25-17.25-65.5 0-16.75 4.75-31.75 12.75-46.5 6.25-11.25 14.25-25.25 26.5-30.5 8.25-3.75 25.75-7.75 34.75-7.75 1.75 0 3.5 0 5.25 0.75 5.25 1.75 10.75 14 13.25 19 8 14.25 15.75 28.75 24 42.75 4 6.5 11.5 14.5 11.5 22.25 0 15.25-45.25 37.5-45.25 51 0 6.75 6.25 15.5 9.75 21.5 25.25 45.5 56.75 77 102.25 102.25 6 3.5 14.75 9.75 21.5 9.75 13.5 0 35.75-45.25 51-45.25 7.75 0 15.75 7.5 22.25 11.5 14 8.25 28.5 16 42.75 24 5 2.5 17.25 8 19 13.25 0.75 1.75 0.75 3.5 0.75 5.25z"></path>
  91.             </svg>
  92.           </div>
  93.         </a>
  94.     </body>
  95. </html>