templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="fr-FR">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta content="IE=edge" http-equiv="X-UA-Compatible">
  6.         <meta content="width=device-width, initial-scale=1.0" name="viewport">
  7.         <title>JP.CHENET FRANCE UN VIN FRANÇAIS UNIQUE EN SON GENRE | EZ35</title>
  8.         <link rel="shortcut icon" href="{{ asset(url_prefix ~ '/build/static/favicon.jpg') }}" type="image/vnd.microsoft.icon"/>
  9.         {% if is_custom_component == 1 %}
  10.             {% set head = page_component_service.getComponentByType('head') %}
  11.             {% if head is not null %}
  12.                 {{ head.content|raw }}
  13.                 <link href="{{ asset(url_prefix ~ '/build/nutella/css/header-footer.css') }}" rel="stylesheet" type="text/css">
  14.             {% endif %}
  15.         {% endif %}
  16.         {% if is_tarteaucitron_active == 1 %}
  17.             <script src="https://cdnjs.cloudflare.com/ajax/libs/tarteaucitronjs/1.9.6/tarteaucitron.min.js" integrity="sha512-r5YFxo0WDBA3dZzm9Vrj3+7Tn5+rioSbAOaxM4mKFo2Q8EhPjG7/7AChduq67orb48m5TW/E9nZUpMubdofYTw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  18.             {{ encore_entry_script_tags('js/tarteaucitron') }}
  19.         {% endif %}
  20.         {% block stylesheets %}
  21.             {{ encore_entry_link_tags('css/app') }}
  22.         {% endblock %}
  23.     </head>
  24.     <body>
  25.         {% include 'home/nav.html.twig' %}
  26.         {% block body %}{% endblock %}
  27.         
  28.         {% include 'home/footer.html.twig' %}
  29.         <div id="grecaptcha-key" data-key="{{ grecaptcha_key }}"></div>
  30.         {% if is_custom_component == 1 %}
  31.             {% set script = page_component_service.getComponentByType('script') %}
  32.             {% if script is not null %}
  33.                 {{ script.content|raw }}
  34.             {% endif %}
  35.             <script>
  36.                 // You are allowed to override block's configuration. List here blocks which you want to attach to header and footer.
  37.                 bdiHeaderFooterConfig.header_top.blocks = [
  38.                     "headersociallinksblock"
  39.                 ];
  40.                 bdiHeaderFooterConfig.header.blocks = [
  41.                     "nutella20_theme_branding", "nutella20_theme_main_menu"
  42.                 ];
  43.                 bdiHeaderFooterConfig.footer.blocks = [
  44.                     "mainnavigation", "nutella20_theme_footer", "scripts"
  45.                 ];
  46.                 bdiHeaderFooterConfig.copywrite.blocks = [
  47.                     "changecountryblock", "headersociallinksblock_2", "copyright", "badges"
  48.                 ];
  49.                 jQuery(document).ready(function () {
  50.                     jQuery('#nutella-embed-header').bdiHeader();
  51.                     jQuery('#nutella-embed-header-top').bdiTopHeader();
  52.                     jQuery('#nutella-embed-footer').bdiFooter();
  53.                     jQuery('#nutella-embed-copywrite').bdiCopy();
  54.                 });
  55.             </script>
  56.             <script defer src="{{ asset(url_prefix ~ '/build/js/header-footer.js') }}"></script>
  57.         {% endif %}
  58.         {% block javascripts %}
  59.             {{ encore_entry_script_tags('js/app') }}
  60.         {% endblock %}
  61.         {% if is_piwik_active == 1 and 'prod' in app_env %}
  62.             <script defer src="{{ url_prefix }}/build/scripts/piwik_pro_script.js"></script>
  63.         {% endif %}
  64.     </body>
  65. </html>