templates/front/layouts/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3.     <head>
  4.         <!-- Google Tag Manager -->
  5.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  6.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-PQPTPLH');</script>
  7.         <!-- End Google Tag Manager -->
  8.         <meta charset="UTF-8">
  9.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10.         <title> Netisse |
  11.             {% block title %} Solutions digitales {% endblock %}
  12.         </title>
  13.            <meta name="description" content="{{ metaDescription() ? metaDescription() :  'parlez - nous de votre projet'  }}" >
  14.         <link rel="shortcut icon" href="{{ asset('img/mini-logo.png') }}" type="image/png"/>
  15.         <link href="https://unpkg.com/boxicons@2.1.1/css/boxicons.min.css" rel="stylesheet"/>
  16.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
  17.         <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css" integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous"/>
  18.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.css" integrity="sha512-UTNP5BXLIptsaj5WdKFrkFov94lDx+eBvbKyoe1YAfjeRPC+gT5kyZ10kOHCfNZqEui1sxmqvodNUx3KbuYI/A==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
  19.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.css" integrity="sha512-OTcub78R3msOCtY3Tc6FzeDJ8N9qvQn1Ph49ou13xgA9VsH9+LRxoFU6EqLhW4+PKRfU+/HReXmSZXHEkpYoOA==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
  20.         {% block stylesheets %}
  21.             {{ encore_entry_link_tags('app') }}
  22.             {{ encore_entry_link_tags('cookies') }}
  23.         {% endblock %}
  24.         <script src="{{ url_tidio }}" async></script>
  25.     </head>
  26.     <body class="{% if page is defined %}{{page.classeBodyPage}}{% else %}body-page-contact{% endif %}">
  27.         <!-- Google Tag Manager (noscript) -->
  28.             <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQPTPLH" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  29.         <!-- End Google Tag Manager (noscript) -->
  30.         
  31.         {% if form is defined %}
  32.             {% form_theme form 'front/layouts/partials/form_errors.html.twig' %}
  33.         {% endif %}
  34.         <header>
  35.             {% include 'front/layouts/header.html.twig' %}
  36.         </header>
  37.         {% block body %}{% endblock %}
  38.         {% block footer %}
  39.             {% if paletteColors|default(null) %}
  40.                 <div class="container reveal">
  41.                     <div class="section-footer" style="background: linear-gradient({{paletteColors.value}} , #FFFFFF00);">
  42.                         {% include 'front/layouts/footer.html.twig' %}
  43.                     </div>
  44.                 </div>
  45.             {% else %}
  46.                 <div class="container reveal">
  47.                     <div class="section-footer bg-footer-contact">
  48.                         {% include 'front/layouts/footer.html.twig' %}
  49.                     </div>
  50.                 </div>
  51.             {% endif %}
  52.         {% endblock footer %}
  53.         <div class="d-flex justify-content-center">
  54.             <p class="copyright">© NETISSE | {{ 'front.infos.right'|trans({}, 'front') }}</p>
  55.         </div>
  56.         {% block javascripts %}
  57.             <script>
  58.                   var check_value =  "{{ path('check_value')|escape('js') }}";
  59.             </script>
  60.             <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  61.             <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.js" integrity="sha512-gY25nC63ddE0LcLPhxUJGFxa2GoIyA5FLym4UJqHDEMHjp8RET6Zn/SHo1sltt3WuVtqfyxECP38/daUc/WVEA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  62.             <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  63.             <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  64.             <script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script>
  65.             {{ encore_entry_script_tags('app') }}
  66.             {{ encore_entry_script_tags('cookies-js') }}
  67.             <!-- Matomo -->
  68.             <script>
  69.                    
  70.                 var _paq = window._paq = window._paq || [];
  71.                 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  72.                 _paq.push(['trackPageView']);
  73.                 _paq.push(['enableLinkTracking']);
  74.                 (function() {
  75.                     var u="https://matomo.netisse.fr/";
  76.                     _paq.push(['setTrackerUrl', u+'matomo.php']);
  77.                     _paq.push(['setSiteId', '2']);
  78.                     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  79.                     g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);    
  80.                 })();
  81.             </script>
  82.         {# End Matomo Code #}
  83.         {% endblock %}
  84.     </body>
  85. </html>