var/cache/dev/twig/b2/b2cac0d763fa17baf8d5b69e6f8f512e.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/base.html.twig */
  14. class __TwigTemplate_daed2db8ffeddcff968eb61299b9c014 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'meta_title' => [$this'block_meta_title'],
  25.             'meta_description' => [$this'block_meta_description'],
  26.             'meta_robots' => [$this'block_meta_robots'],
  27.             'stylesheets' => [$this'block_stylesheets'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.             'body_class' => [$this'block_body_class'],
  30.             'body' => [$this'block_body'],
  31.             'javascripts_footer' => [$this'block_javascripts_footer'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/base.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/base.html.twig"));
  41.         // line 1
  42.         echo "<!DOCTYPE html>
  43. <html lang=\"fr\">
  44.     <head>
  45.         <meta charset=\"UTF-8\">
  46.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge\">
  47.         <meta content=\"width=device-width, initial-scale=1\" name=\"viewport\">
  48.         <link rel=\"icon\" href=\"";
  49.         // line 7
  50.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("app-icons/favicon.ico"), "html"nulltrue);
  51.         echo "\" />
  52.         <title>";
  53.         // line 9
  54.         $this->displayBlock('meta_title'$context$blocks);
  55.         echo " | Citizens</title>
  56.         <meta name=\"title\" content=\"";
  57.         // line 10
  58.         $this->displayBlock("meta_title"$context$blocks);
  59.         echo " | Citizens\">
  60.         <meta name=\"description\" content=\"";
  61.         // line 11
  62.         $this->displayBlock('meta_description'$context$blocks);
  63.         echo "\">
  64.         ";
  65.         // line 13
  66.         if (((isset($context["app_env"]) || array_key_exists("app_env"$context) ? $context["app_env"] : (function () { throw new RuntimeError('Variable "app_env" does not exist.'13$this->source); })()) == "prod")) {
  67.             // line 14
  68.             echo "            <meta name=\"robots\" content=\"";
  69.             $this->displayBlock('meta_robots'$context$blocks);
  70.             echo "\">
  71.         ";
  72.         } else {
  73.             // line 16
  74.             echo "            <meta name=\"robots\" content=\"noindex,nofollow\">
  75.         ";
  76.         }
  77.         // line 18
  78.         echo "
  79.         <!-- Open Graph / Facebook -->
  80.         <meta property=\"og:type\" content=\"website\">
  81.         <meta property=\"og:url\" content=\"https://www.colocalyon.fr\">
  82.         <meta property=\"og:title\" content=\"Citizens\">
  83.         <meta property=\"og:description\" content=\"Citizens\">
  84.         <meta property=\"og:image\" content=\"https://www.colocalyon.fr/app-icons/share.jpg\" />
  85.         <!-- Twitter -->
  86.         <meta property=\"twitter:card\" content=\"summary_large_image\">
  87.         <meta property=\"twitter:url\" content=\"https://www.colocalyon.fr\">
  88.         <meta property=\"twitter:title\" content=\"Citizens\">
  89.         <meta property=\"twitter:description\" content=\"Citizens\">
  90.         <meta property=\"twitter:image\" content=\"https://www.colocalyon.fr/app-icons/share.jpg\">
  91.         <!-- RGPD -->
  92.         <script type=\"text/javascript\" src=\"/js/tarteaucitronjs/tarteaucitron.js\"></script>
  93.         <script type=\"text/javascript\">
  94.             tarteaucitron.user.gtagUa = '";
  95.         // line 38
  96.         echo twig_escape_filter($this->env, (isset($context["google_analytics_id"]) || array_key_exists("google_analytics_id"$context) ? $context["google_analytics_id"] : (function () { throw new RuntimeError('Variable "google_analytics_id" does not exist.'38$this->source); })()), "html"nulltrue);
  97.         echo "';
  98.             // google analytics
  99.             tarteaucitron.services.gtag = {
  100.                 \"key\": \"gtag\",
  101.                 \"type\": \"analytic\",
  102.                 \"name\": \"Google Analytics (gtag.js)\",
  103.                 \"uri\": \"https://support.google.com/analytics/answer/6004245\",
  104.                 \"needConsent\": true,
  105.                 \"cookies\": (function () {
  106.                     // Add _gat_gtag_UA_XXXXXXX_XX cookie to cookies array
  107.                     var gatGtagUaCookie = '_gat_gtag_' + tarteaucitron.user.gtagUa;
  108.                     gatGtagUaCookie = gatGtagUaCookie.replace(/-/g, '_');
  109.                     return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', gatGtagUaCookie];
  110.                 })(),
  111.                 \"js\": function () {
  112.                     \"use strict\";
  113.                     window.dataLayer = window.dataLayer || [];
  114.                     tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
  115.                         window.gtag = function gtag(){dataLayer.push(arguments);}
  116.                         gtag('js', new Date());
  117.                         gtag('config', tarteaucitron.user.gtagUa);
  118.                         if (typeof tarteaucitron.user.gtagMore === 'function') {
  119.                             tarteaucitron.user.gtagMore();
  120.                         }
  121.                     });
  122.                 }
  123.             };
  124.             tarteaucitron.init({
  125.                 \"privacyUrl\": \"";
  126.         // line 69
  127.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_privacy");
  128.         echo "\",
  129.                 \"hashtag\": \"#tarteaucitron\", /* Open the panel with this hashtag */
  130.                 \"cookieName\": \"tarteaucitron\", /* Cookie name */
  131.                 \"orientation\": \"bottom\", /* Banner position (top - bottom) */
  132.                 \"showAlertSmall\": false, /* Show the small banner on bottom right */
  133.                 \"cookieslist\": true, /* Show the cookie list */
  134.                 \"adblocker\": false, /* Show a Warning if an adblocker is detected */
  135.                 \"AcceptAllCta\" : true, /* Show the accept all button when highPrivacy on */
  136.                 \"highPrivacy\": true, /* Disable auto consent */
  137.                 \"handleBrowserDNTRequest\": false, /* If Do Not Track == 1, disallow all */
  138.                 \"removeCredit\": true, /* Remove credit link */
  139.                 \"moreInfoLink\": false, /* Show more info link */
  140.                 \"useExternalCss\": true, /* If false, the tarteaucitron.css file will be loaded */
  141.                 \"readmoreLink\": \"/\"
  142.             });
  143.             (tarteaucitron.job = tarteaucitron.job || []).push('gtag');
  144.         </script>
  145.         ";
  146.         // line 93
  147.         $this->displayBlock('stylesheets'$context$blocks);
  148.         // line 96
  149.         echo "
  150.         ";
  151.         // line 97
  152.         $this->displayBlock('javascripts'$context$blocks);
  153.         // line 100
  154.         echo "
  155.     </head>
  156.     <body
  157.         class=\"";
  158.         // line 103
  159.         $this->displayBlock('body_class'$context$blocks);
  160.         echo "\"
  161.         data-locale=\"";
  162.         // line 104
  163.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "locale", [], "any"falsefalsefalse104), "html"nulltrue);
  164.         echo "\"
  165.         data-controller=\"app\"
  166.     >
  167.         ";
  168.         // line 107
  169.         if (((isset($context["app_env"]) || array_key_exists("app_env"$context) ? $context["app_env"] : (function () { throw new RuntimeError('Variable "app_env" does not exist.'107$this->source); })()) == "dev")) {
  170.             // line 108
  171.             echo "            <div class=\"dev-banner\">DEV VERSION</div>
  172.         ";
  173.         }
  174.         // line 110
  175.         echo "
  176.         ";
  177.         // line 111
  178.         $this->displayBlock('body'$context$blocks);
  179.         // line 112
  180.         echo "        ";
  181.         $this->displayBlock('javascripts_footer'$context$blocks);
  182.         // line 113
  183.         echo "    </body>
  184. </html>
  185. ";
  186.         
  187.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  188.         
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  190.     }
  191.     // line 9
  192.     public function block_meta_title($context, array $blocks = [])
  193.     {
  194.         $macros $this->macros;
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  199.         
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  201.         
  202.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  203.     }
  204.     // line 11
  205.     public function block_meta_description($context, array $blocks = [])
  206.     {
  207.         $macros $this->macros;
  208.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  210.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  212.         
  213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  214.         
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  216.     }
  217.     // line 14
  218.     public function block_meta_robots($context, array $blocks = [])
  219.     {
  220.         $macros $this->macros;
  221.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robots"));
  223.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robots"));
  225.         echo "index,follow";
  226.         
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  228.         
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  230.     }
  231.     // line 93
  232.     public function block_stylesheets($context, array $blocks = [])
  233.     {
  234.         $macros $this->macros;
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  239.         // line 94
  240.         echo "            ";
  241.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  242.         echo "
  243.         ";
  244.         
  245.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  246.         
  247.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  248.     }
  249.     // line 97
  250.     public function block_javascripts($context, array $blocks = [])
  251.     {
  252.         $macros $this->macros;
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  256.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  257.         // line 98
  258.         echo "            ";
  259.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  260.         echo "
  261.         ";
  262.         
  263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  264.         
  265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  266.     }
  267.     // line 103
  268.     public function block_body_class($context, array $blocks = [])
  269.     {
  270.         $macros $this->macros;
  271.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  273.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  275.         if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
  276.             echo "logged-out";
  277.         } else {
  278.             echo "logged-in";
  279.         }
  280.         echo " ";
  281.         
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  283.         
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  285.     }
  286.     // line 111
  287.     public function block_body($context, array $blocks = [])
  288.     {
  289.         $macros $this->macros;
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  292.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  293.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  294.         
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  296.         
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  298.     }
  299.     // line 112
  300.     public function block_javascripts_footer($context, array $blocks = [])
  301.     {
  302.         $macros $this->macros;
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  304.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_footer"));
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_footer"));
  307.         
  308.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  309.         
  310.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  311.     }
  312.     public function getTemplateName()
  313.     {
  314.         return "front/base.html.twig";
  315.     }
  316.     public function isTraitable()
  317.     {
  318.         return false;
  319.     }
  320.     public function getDebugInfo()
  321.     {
  322.         return array (  363 => 112,  345 => 111,  321 => 103,  308 => 98,  298 => 97,  285 => 94,  275 => 93,  256 => 14,  238 => 11,  220 => 9,  208 => 113,  205 => 112,  203 => 111,  200 => 110,  196 => 108,  194 => 107,  188 => 104,  184 => 103,  179 => 100,  177 => 97,  174 => 96,  172 => 93,  145 => 69,  111 => 38,  89 => 18,  85 => 16,  79 => 14,  77 => 13,  72 => 11,  68 => 10,  64 => 9,  59 => 7,  51 => 1,);
  323.     }
  324.     public function getSourceContext()
  325.     {
  326.         return new Source("<!DOCTYPE html>
  327. <html lang=\"fr\">
  328.     <head>
  329.         <meta charset=\"UTF-8\">
  330.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge\">
  331.         <meta content=\"width=device-width, initial-scale=1\" name=\"viewport\">
  332.         <link rel=\"icon\" href=\"{{ asset('app-icons/favicon.ico') }}\" />
  333.         <title>{% block meta_title %}{% endblock %} | Citizens</title>
  334.         <meta name=\"title\" content=\"{{ block('meta_title') }} | Citizens\">
  335.         <meta name=\"description\" content=\"{% block meta_description %}{% endblock %}\">
  336.         {% if app_env == 'prod' %}
  337.             <meta name=\"robots\" content=\"{% block meta_robots %}index,follow{% endblock %}\">
  338.         {% else %}
  339.             <meta name=\"robots\" content=\"noindex,nofollow\">
  340.         {% endif %}
  341.         <!-- Open Graph / Facebook -->
  342.         <meta property=\"og:type\" content=\"website\">
  343.         <meta property=\"og:url\" content=\"https://www.colocalyon.fr\">
  344.         <meta property=\"og:title\" content=\"Citizens\">
  345.         <meta property=\"og:description\" content=\"Citizens\">
  346.         <meta property=\"og:image\" content=\"https://www.colocalyon.fr/app-icons/share.jpg\" />
  347.         <!-- Twitter -->
  348.         <meta property=\"twitter:card\" content=\"summary_large_image\">
  349.         <meta property=\"twitter:url\" content=\"https://www.colocalyon.fr\">
  350.         <meta property=\"twitter:title\" content=\"Citizens\">
  351.         <meta property=\"twitter:description\" content=\"Citizens\">
  352.         <meta property=\"twitter:image\" content=\"https://www.colocalyon.fr/app-icons/share.jpg\">
  353.         <!-- RGPD -->
  354.         <script type=\"text/javascript\" src=\"/js/tarteaucitronjs/tarteaucitron.js\"></script>
  355.         <script type=\"text/javascript\">
  356.             tarteaucitron.user.gtagUa = '{{ google_analytics_id }}';
  357.             // google analytics
  358.             tarteaucitron.services.gtag = {
  359.                 \"key\": \"gtag\",
  360.                 \"type\": \"analytic\",
  361.                 \"name\": \"Google Analytics (gtag.js)\",
  362.                 \"uri\": \"https://support.google.com/analytics/answer/6004245\",
  363.                 \"needConsent\": true,
  364.                 \"cookies\": (function () {
  365.                     // Add _gat_gtag_UA_XXXXXXX_XX cookie to cookies array
  366.                     var gatGtagUaCookie = '_gat_gtag_' + tarteaucitron.user.gtagUa;
  367.                     gatGtagUaCookie = gatGtagUaCookie.replace(/-/g, '_');
  368.                     return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', gatGtagUaCookie];
  369.                 })(),
  370.                 \"js\": function () {
  371.                     \"use strict\";
  372.                     window.dataLayer = window.dataLayer || [];
  373.                     tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
  374.                         window.gtag = function gtag(){dataLayer.push(arguments);}
  375.                         gtag('js', new Date());
  376.                         gtag('config', tarteaucitron.user.gtagUa);
  377.                         if (typeof tarteaucitron.user.gtagMore === 'function') {
  378.                             tarteaucitron.user.gtagMore();
  379.                         }
  380.                     });
  381.                 }
  382.             };
  383.             tarteaucitron.init({
  384.                 \"privacyUrl\": \"{{ path('front_page_privacy') }}\",
  385.                 \"hashtag\": \"#tarteaucitron\", /* Open the panel with this hashtag */
  386.                 \"cookieName\": \"tarteaucitron\", /* Cookie name */
  387.                 \"orientation\": \"bottom\", /* Banner position (top - bottom) */
  388.                 \"showAlertSmall\": false, /* Show the small banner on bottom right */
  389.                 \"cookieslist\": true, /* Show the cookie list */
  390.                 \"adblocker\": false, /* Show a Warning if an adblocker is detected */
  391.                 \"AcceptAllCta\" : true, /* Show the accept all button when highPrivacy on */
  392.                 \"highPrivacy\": true, /* Disable auto consent */
  393.                 \"handleBrowserDNTRequest\": false, /* If Do Not Track == 1, disallow all */
  394.                 \"removeCredit\": true, /* Remove credit link */
  395.                 \"moreInfoLink\": false, /* Show more info link */
  396.                 \"useExternalCss\": true, /* If false, the tarteaucitron.css file will be loaded */
  397.                 \"readmoreLink\": \"/\"
  398.             });
  399.             (tarteaucitron.job = tarteaucitron.job || []).push('gtag');
  400.         </script>
  401.         {% block stylesheets %}
  402.             {{ encore_entry_link_tags('app') }}
  403.         {% endblock %}
  404.         {% block javascripts %}
  405.             {{ encore_entry_script_tags('app') }}
  406.         {% endblock %}
  407.     </head>
  408.     <body
  409.         class=\"{% block body_class %}{% if not is_granted('IS_AUTHENTICATED_FULLY') %}logged-out{% else %}logged-in{% endif %} {% endblock %}\"
  410.         data-locale=\"{{ app.request.locale }}\"
  411.         data-controller=\"app\"
  412.     >
  413.         {% if app_env == 'dev' %}
  414.             <div class=\"dev-banner\">DEV VERSION</div>
  415.         {% endif %}
  416.         {% block body %}{% endblock %}
  417.         {% block javascripts_footer %}{% endblock %}
  418.     </body>
  419. </html>
  420. ""front/base.html.twig""/var/www/vps.citizens.fr/templates/front/base.html.twig");
  421.     }
  422. }