templates/base.html.twig line 1

Open in your IDE?
  1. {% autoescape false %}
  2. {% apply spaceless %}
  3.     {% include 'templates/includes/header.html.twig' %}
  4.     <body class="body_{% if isHome is defined %}home{% else %}default{% endif %}" data-controller="core" {% if device is defined %}data-device="{{ device }}"{% endif %}>
  5.         <header id="head">
  6.             <div id="headMainTop">
  7.                 <div class="container">
  8.                     <div class="row">
  9.                         <div id="head_left" class="col-12 col-md-3">{% include 'templates/includes/head/head_left.html.twig' %}</div>
  10.                         <div id="head_right" class="col-12 col-md-9">{% include 'templates/includes/head/head_right.html.twig' %}</div>
  11.                     </div>
  12.                 </div>
  13.             </div>
  14.             {% if isHome is not defined %}{% include 'templates/includes/breadcrumb.html.twig' %}{% endif %}
  15.         </header>
  16.         <div id="headMainBot">
  17.             {{ menu_haut }}
  18.         </div>
  19.         <main id="content" {% if hideWrapper is not defined %}class="wrapper_dark" {% if isHome is not defined %}data-ct="{% if ct is defined %}{{ ct }}{% else %}default{% endif %}"{% endif %}{% endif %}>
  20.             {% apply retaille %}
  21.                 {% if isHome is defined %}
  22.                     <div id="content_top">{% include 'templates/includes/content/content_top.html.twig' %}</div>
  23.                 {% endif %}
  24.                 <div id="content_center">
  25.                     {% block body %}{% endblock %}
  26.                 </div>
  27.             {% endapply %}
  28.         </main>
  29.         <footer id="foot">
  30.             <div class="container">
  31.                 <div id="foot_top">
  32.                     <div id="foot_top_top">{% include 'templates/includes/foot/top/top.html.twig' %}</div>
  33.                     <div class="row">
  34.                         <div id="foot_top_left" class="col-lg-6">{% include 'templates/includes/foot/top/left.html.twig' %}</div>
  35.                         <div id="foot_top_right" class="col-lg-6">{% include 'templates/includes/foot/top/right.html.twig' %}</div>
  36.                     </div>
  37.                 </div>
  38.                 <div id="foot_bot">
  39.                     <div id="foot_bot_top">{% include 'templates/includes/foot/bot/top.html.twig' %}</div>
  40.                     <div id="foot_bot_bot">{% include 'templates/includes/foot/bot/bot.html.twig' %}</div>
  41.                 </div>
  42.             </div>
  43.             <div id="foot_copyrights">
  44.                 <div class="container">
  45.                     {% include 'templates/includes/foot/copyrights.html.twig' %}
  46.                 </div>
  47.             </div>
  48.         </footer>
  49.         {% if constant("TARTEAUCITRON_ACTIVE") is defined %}
  50.         <script type="text/javascript">
  51.             {% if constant("TARTEAUCITRON_SERVICES")['gtag'] is defined and constant("TARTEAUCITRON_SERVICES")['gtag'] == true %}
  52.                 tarteaucitron.user.gtagUa = '{{ config.site.analytics }}';
  53.                 (tarteaucitron.job = tarteaucitron.job || []).push('gtag');
  54.             {% endif %}
  55.             {% if constant("TARTEAUCITRON_SERVICES")['googlemaps'] is defined and constant("TARTEAUCITRON_SERVICES")['googlemaps'] == true %}
  56.                 (tarteaucitron.job = tarteaucitron.job || []).push('googlemaps');
  57.             {% endif %}
  58.             {% if constant("TARTEAUCITRON_SERVICES")['googlemapsembed'] is defined and constant("TARTEAUCITRON_SERVICES")['googlemapsembed'] == true %}
  59.             (tarteaucitron.job = tarteaucitron.job || []).push('googlemapsembed');
  60.             {% endif %}
  61.             {% if constant("TARTEAUCITRON_SERVICES")['recaptcha'] is defined and constant("TARTEAUCITRON_SERVICES")['recaptcha'] == true %}
  62.             (tarteaucitron.job = tarteaucitron.job || []).push('recaptcha');
  63.             {% endif %}
  64.             {% if constant("TARTEAUCITRON_SERVICES")['youtube'] is defined and constant("TARTEAUCITRON_SERVICES")['youtube'] == true %}
  65.                 (tarteaucitron.job = tarteaucitron.job || []).push('youtube');
  66.             {% endif %}
  67.             {% if constant("TARTEAUCITRON_SERVICES")['facebookpixel'] is defined and constant("TARTEAUCITRON_SERVICES")['facebookpixel'] == true %}
  68.             (tarteaucitron.job = tarteaucitron.job || []).push('facebookpixel');
  69.             {% endif %}
  70.             {% if constant("TARTEAUCITRON_SERVICES")['matomo'] is defined and constant("TARTEAUCITRON_SERVICES")['matomo'] == true %}
  71.             (tarteaucitron.job = tarteaucitron.job || []).push('matomo');
  72.             {% endif %}
  73.         </script>
  74.         {% endif %}
  75.     </body>
  76.     </html>
  77. {% endapply %}
  78. {% endautoescape %}
  79. {% include 'templates/includes/captusite.html.twig' %}