templates/front_v4/base.html.twig line 157

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <!-- Required Meta Tags Always Come First -->
  5.     <meta charset="utf-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7.     {% if isWhiteLabel() %}
  8.     <!-- Title -->
  9.     <title>{% block meta_title_whitelabel %}Trouver le centre auditif le plus proche - Depistage-auditif.fr{% endblock meta_title_whitelabel %}</title>
  10.     <!-- Favicon -->
  11.     <link rel="shortcut icon" href="{{ asset('/build/whitelabel/images/favicon_depistage_auditif.ico?v=6') }}"
  12.           type="image/x-icon">
  13.     <link rel="icon" href="{{ asset('/build/whitelabel/images/favicon_depistage_auditif.ico?v=6') }}"
  14.           type="image/x-icon">
  15.     {% elseif isOrlWebsite() %}
  16.     <!-- Title -->
  17.     <title>{% block meta_title_orl %}Trouver un ORL à proximité de chez vous - Annuaire-orl.com{% endblock meta_title_orl %}</title>
  18.     <!-- Favicon -->
  19.     <link rel="shortcut icon" href="{{ asset('/build/orl/images/favicon_ORL.ico?v=8') }}" type="image/x-icon">
  20.     <link rel="icon" href="{{ asset('/build/orl/images/favicon_ORL.ico?v=8') }}" type="image/x-icon">
  21.     {% else %}
  22.         <!-- Title -->
  23.         <title>{% block meta_title %}Trouver le centre auditif le plus proche - Mon Centre Auditif{% endblock meta_title %}</title>
  24.         <!-- Favicon -->
  25.         <link rel="shortcut icon" href="{{ asset('/build/favicon.ico?v=6') }}" type="image/x-icon">
  26.         <link rel="icon" href="{{ asset('/build/favicon.ico?v=6') }}" type="image/x-icon">
  27.     {% endif %}
  28.     {% if isWhiteLabel() %}
  29.         <meta name="description"
  30.               content="{% block meta_description_whitelabel %}Depistage-auditif.fr vous facilite vos démarches pour la réalisation d'un bilan auditif{% endblock meta_description_whitelabel %}"/>
  31.     {% elseif isOrlWebsite() %}
  32.         <meta name="description"
  33.               content="{% block meta_description_orl %}Prenez rendez-vous avec les ORL proches de chez vous afin d'établir un diagnostic complet de l'état de vos oreilles.{% endblock meta_description_orl %}"/>
  34.     {% else %}
  35.         <meta name="description"
  36.               content="{% block meta_description %}Mon centre auditif vous aide à trouver le centre auditif le plus proche de chez vous afin de réaliser un bilan auditif et faciliter vos démarches d’accès aux soins{% endblock meta_description %}"/>
  37.     {% endif %}
  38.     {% block meta_global %}
  39.         {% block meta_robots %}
  40.             <meta name="robots" content="index, follow">
  41.         {% endblock %}
  42.         {% block meta_canonical %}
  43.             <link rel="canonical"
  44.                   href="{{ app.request.getSchemeAndHttpHost ~ app.request.baseUrl ~ app.request.pathInfo }}"/>
  45.         {% endblock meta_canonical %}
  46.         <meta property="og:site_name" content="Mon centre auditif">
  47.         <meta property="og:url"
  48.               content="{{ app.request.getSchemeAndHttpHost ~ app.request.baseUrl ~ app.request.pathInfo }}">
  49.         <meta property="og:image:width" content="1200"/>
  50.         <meta property="og:image:height" content="630"/>
  51.         <meta property="business:contact_data:street_address" content="36, rue montgrand">
  52.         <meta property="business:contact_data:locality" content="Marseille">
  53.         <meta property="business:contact_data:region" content="France">
  54.         <meta property="business:contact_data:postal_code" content="13006">
  55.         <meta property="business:contact_data:country_name" content="PACA">
  56.         {% if isWhiteLabel() %}
  57.             <meta name="facebook-domain-verification" content="358xlf6jysujspbvpovs33gzf5ddh3" />
  58.         {% else %}
  59.             <meta name="facebook-domain-verification" content="l29kxg616xei9u64a5axd5gob61t7n"/>
  60.         {% endif %}
  61.         {% block meta_custom %}
  62.             <meta name="author" content="Mon centre auditif">
  63.             <meta property="og:type" content="business.business">
  64.             <meta property="og:title" content="Mon centre Auditif">
  65.             <meta property="og:description"
  66.                   content="Prenez rendez-vous avec les centres auditifs proches de chez vous afin de réaliser un bilan auditif gratuit.">
  67.             <meta property="og:image" content="https://mon-centre-auditif.com/build/mon_centre_auditif_facebook_og.png">
  68.         {% endblock meta_custom %}
  69.     {% endblock meta_global %}
  70.     <!-- Font -->
  71.     <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
  72. {#    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">#}
  73.     <!-- CSS Front Template -->
  74.     {{ encore_entry_link_tags('init') }}
  75.     {% if isWhiteLabel() %}
  76.         <!-- Whitelabel CSS -->
  77.         <link rel="stylesheet" href="{{ asset('build/whitelabel/css/theme_whitelabel.css') }}">
  78.     {% endif %}
  79.     {% if isOrlWebsite() %}
  80.         <!-- ORL CSS -->
  81.         {{ encore_entry_link_tags('base_orl') }}
  82.     {% endif %}
  83.     {% block stylesheets %}
  84.         {% if isWhiteLabel() %}
  85.             {{ encore_entry_link_tags('whitelabel_homepage') }}
  86.         {% endif %}
  87.     {% endblock stylesheets %}
  88.     {% if isWhiteLabel() %}
  89.         {# GTM id marque blanche #}
  90.         {% set gtm_id = "TSGPBXL" %}
  91.     {% elseif isOrlWebsite() %}
  92.         {# GTM id site ORL #}
  93.         {% set gtm_id = "W2PBSRD" %}
  94.     {% else %}
  95.         {# GTM id par défaut MCA #}
  96.         {% set gtm_id = "PVX3WXL" %}
  97.     {% endif %}
  98.     <!-- GTM Datalayer-->
  99.     <script>
  100.         dataLayer = [];
  101.     </script>
  102.     <!-- End GTM Datalayer-->
  103.     <!-- Google Tag Manager -->
  104.     <script>(function (w, d, s, l, i) {
  105.             w[l] = w[l] || [];
  106.             w[l].push({
  107.                 'gtm.start':
  108.                     new Date().getTime(), event: 'gtm.js'
  109.             });
  110.             var f = d.getElementsByTagName(s)[0],
  111.                 j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
  112.             j.async = true;
  113.             j.src =
  114.                 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
  115.             f.parentNode.insertBefore(j, f);
  116.         })(window, document, 'script', 'dataLayer', 'GTM-{{ gtm_id }}');</script>
  117.     <!-- End Google Tag Manager -->
  118. </head>
  119. <body>
  120. <!-- Google Tag Manager (noscript) -->
  121. <noscript>
  122.     <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-{{ gtm_id }}"
  123.             height="0" width="0"></iframe>
  124. </noscript>
  125. <!-- End Google Tag Manager (noscript) -->
  126. <!-- Loading Page LP -->
  127. {% if displayLoadingModal is defined and displayLoadingModal == true %}
  128.     {% include 'front_v4/mca/partials/_loading_modal.html.twig' %}
  129. {% endif %}
  130. {% if hideNavbar is not defined %}
  131.     {% include 'front_v4/mca/partials/_navbar.html.twig' %}
  132. {% endif %}
  133. {% block content %}
  134. {% endblock content %}
  135. {% if hideFooter is not defined %}
  136.     {% include 'front_v4/mca/partials/_footer.html.twig' %}
  137. {% endif %}
  138. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
  139. <!-- JS Front -->
  140. {{ encore_entry_script_tags('init') }}
  141. {% if isWhiteLabel() %}
  142.     <!-- ORL JS -->
  143.     {{ encore_entry_script_tags('whitelabel_init') }}
  144. {% endif %}
  145. {% if isOrlWebsite() %}
  146.     <!-- ORL JS -->
  147.     {{ encore_entry_script_tags('base_orl') }}
  148. {% endif %}
  149. <!-- FOS JS ROUTING -->
  150. <script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}"></script>
  151. <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
  152. {% block javascripts %}
  153. {% endblock javascripts %}
  154. </body>
  155. </html>