var/cache/dev/twig/d6/d6a19dc2033c458f4490f8b25726bc47baad5f5f0f5c9840e802b6c775c491a5.php line 163

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. /* @SocleTechnique/front/base.html.twig */
  14. class __TwigTemplate_35c228abcbe2213455ee89e2489268fff9eea3ef84511fe31644204f31abaff5 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.             'title' => [$this'block_title'],
  25.             'canonical' => [$this'block_canonical'],
  26.             'favicon' => [$this'block_favicon'],
  27.             'meta' => [$this'block_meta'],
  28.             'metaDescription' => [$this'block_metaDescription'],
  29.             'metaog' => [$this'block_metaog'],
  30.             'stylesheets' => [$this'block_stylesheets'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.             'body' => [$this'block_body'],
  33.             'bottomContent' => [$this'block_bottomContent'],
  34.         ];
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SocleTechnique/front/base.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SocleTechnique/front/base.html.twig"));
  43.         // line 1
  44.         echo "<!DOCTYPE html>
  45. <html lang=\"fr\">
  46. <head>
  47.     ";
  48.         // line 4
  49.         $context["title"] = twig_get_attribute($this->env$this->source, (isset($context["siteSettings"]) || array_key_exists("siteSettings"$context) ? $context["siteSettings"] : (function () { throw new RuntimeError('Variable "siteSettings" does not exist.'4$this->source); })()), "defaultTitle", [], "any"falsefalsefalse4);
  50.         // line 5
  51.         echo "    ";
  52.         if (((array_key_exists("SEOPage"$context) && (isset($context["SEOPage"]) || array_key_exists("SEOPage"$context) ? $context["SEOPage"] : (function () { throw new RuntimeError('Variable "SEOPage" does not exist.'5$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["SEOPage"]) || array_key_exists("SEOPage"$context) ? $context["SEOPage"] : (function () { throw new RuntimeError('Variable "SEOPage" does not exist.'5$this->source); })()), "metaTitle", [], "any"falsefalsefalse5))) {
  53.             // line 6
  54.             echo "        ";
  55.             $context["title"] = twig_get_attribute($this->env$this->source, (isset($context["SEOPage"]) || array_key_exists("SEOPage"$context) ? $context["SEOPage"] : (function () { throw new RuntimeError('Variable "SEOPage" does not exist.'6$this->source); })()), "metaTitle", [], "any"falsefalsefalse6);
  56.             // line 7
  57.             echo "    ";
  58.         } elseif ((array_key_exists("page"$context) && (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'7$this->source); })()))) {
  59.             // line 8
  60.             echo "        ";
  61.             $context["title"] = (((((twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "metaTitle", [], "any"truetruefalse8) &&  !(null === twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "metaTitle", [], "any"falsefalsefalse8)))) ? (twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "metaTitle", [], "any"falsefalsefalse8)) : (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'8$this->source); })()), "defaultMetaTitle", [], "any"falsefalsefalse8)))) ? (((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'8$this->source); })()), "defaultMetaTitle", [], "any"falsefalsefalse8) . " | ") . twig_get_attribute($this->env$this->sourcetwig_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.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "server", [], "any"falsefalsefalse8), "get", ["SITENAME"], "method"falsefalsefalse8))) : ((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'8$this->source); })())));
  62.             // line 9
  63.             echo "    ";
  64.         }
  65.         // line 10
  66.         echo "    <meta charset=\"UTF-8\">
  67.     <title>";
  68.         // line 11
  69.         $this->displayBlock('title'$context$blocks);
  70.         echo "</title>
  71.     <link rel=\"icon\" href=\"";
  72.         // line 12
  73.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  74.         echo "\">
  75.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
  76.     ";
  77.         // line 15
  78.         $this->displayBlock('canonical'$context$blocks);
  79.         // line 18
  80.         echo "
  81.     ";
  82.         // line 19
  83.         $this->displayBlock('favicon'$context$blocks);
  84.         // line 22
  85.         echo "
  86.     ";
  87.         // line 23
  88.         $context["metaDesc"] = twig_get_attribute($this->env$this->source, (isset($context["siteSettings"]) || array_key_exists("siteSettings"$context) ? $context["siteSettings"] : (function () { throw new RuntimeError('Variable "siteSettings" does not exist.'23$this->source); })()), "defaultMetaDesc", [], "any"falsefalsefalse23);
  89.         // line 24
  90.         echo "    ";
  91.         if (((array_key_exists("SEOPage"$context) && (isset($context["SEOPage"]) || array_key_exists("SEOPage"$context) ? $context["SEOPage"] : (function () { throw new RuntimeError('Variable "SEOPage" does not exist.'24$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["SEOPage"]) || array_key_exists("SEOPage"$context) ? $context["SEOPage"] : (function () { throw new RuntimeError('Variable "SEOPage" does not exist.'24$this->source); })()), "metaDescription", [], "any"falsefalsefalse24))) {
  92.             // line 25
  93.             echo "        ";
  94.             $context["metaDesc"] = twig_get_attribute($this->env$this->source, (isset($context["SEOPage"]) || array_key_exists("SEOPage"$context) ? $context["SEOPage"] : (function () { throw new RuntimeError('Variable "SEOPage" does not exist.'25$this->source); })()), "metaDescription", [], "any"falsefalsefalse25);
  95.             // line 26
  96.             echo "    ";
  97.         } elseif ((array_key_exists("page"$context) && (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'26$this->source); })()))) {
  98.             // line 27
  99.             echo "        ";
  100.             $context["metaDesc"] = (((twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "metaDescription", [], "any"truetruefalse27) &&  !(null === twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "metaDescription", [], "any"falsefalsefalse27)))) ? (twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "metaDescription", [], "any"falsefalsefalse27)) : ((((twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "defaultMetaDescription", [], "any"truetruefalse27) &&  !(null === twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "defaultMetaDescription", [], "any"falsefalsefalse27)))) ? (twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "defaultMetaDescription", [], "any"falsefalsefalse27)) : ((isset($context["metaDesc"]) || array_key_exists("metaDesc"$context) ? $context["metaDesc"] : (function () { throw new RuntimeError('Variable "metaDesc" does not exist.'27$this->source); })())))));
  101.             // line 28
  102.             echo "    ";
  103.         }
  104.         // line 29
  105.         echo "    ";
  106.         $this->displayBlock('meta'$context$blocks);
  107.         // line 32
  108.         echo "
  109.     ";
  110.         // line 33
  111.         if ((array_key_exists("noindex"$context) && (isset($context["noindex"]) || array_key_exists("noindex"$context) ? $context["noindex"] : (function () { throw new RuntimeError('Variable "noindex" does not exist.'33$this->source); })()))) {
  112.             // line 34
  113.             echo "        <meta name=\"robots\" content=\"noindex\">
  114.     ";
  115.         }
  116.         // line 36
  117.         echo "
  118.     ";
  119.         // line 37
  120.         $this->displayBlock('metaog'$context$blocks);
  121.         // line 45
  122.         echo "    ";
  123.         // line 46
  124.         echo "    ";
  125.         $this->displayBlock('stylesheets'$context$blocks);
  126.         // line 49
  127.         echo "
  128.     ";
  129.         // line 50
  130.         $this->displayBlock('javascripts'$context$blocks);
  131.         // line 54
  132.         echo "
  133.     ";
  134.         // line 56
  135.         echo "    <script> </script>
  136. </head>
  137. <body data-controller=\"global\">
  138. ";
  139.         // line 59
  140.         $this->loadTemplate("commons/header.html.twig""@SocleTechnique/front/base.html.twig"59)->display($context);
  141.         // line 60
  142.         echo "<div id=\"main-content\">
  143.     ";
  144.         // line 61
  145.         $this->displayBlock('body'$context$blocks);
  146.         // line 62
  147.         echo "    ";
  148.         $this->loadTemplate("commons/footer.html.twig""@SocleTechnique/front/base.html.twig"62)->display($context);
  149.         // line 63
  150.         echo "</div>
  151. ";
  152.         // line 64
  153.         $this->loadTemplate("commons/footer-external.html.twig""@SocleTechnique/front/base.html.twig"64)->display($context);
  154.         // line 65
  155.         $this->displayBlock('bottomContent'$context$blocks);
  156.         // line 68
  157.         echo "<div id=\"alerts\">
  158.     ";
  159.         // line 69
  160.         $context['_parent'] = $context;
  161.         $context['_seq'] = twig_ensure_traversable(twig_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.'69$this->source); })()), "flashes", ["success"], "method"falsefalsefalse69));
  162.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  163.             // line 70
  164.             echo "        <div class=\"alert alert-success\">
  165.             ";
  166.             // line 71
  167.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  168.             echo "
  169.         </div>
  170.     ";
  171.         }
  172.         $_parent $context['_parent'];
  173.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  174.         $context array_intersect_key($context$_parent) + $_parent;
  175.         // line 74
  176.         echo "    ";
  177.         $context['_parent'] = $context;
  178.         $context['_seq'] = twig_ensure_traversable(twig_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.'74$this->source); })()), "flashes", ["danger"], "method"falsefalsefalse74));
  179.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  180.             // line 75
  181.             echo "        <div class=\"alert alert-danger\">
  182.             ";
  183.             // line 76
  184.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  185.             echo "
  186.         </div>
  187.     ";
  188.         }
  189.         $_parent $context['_parent'];
  190.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  191.         $context array_intersect_key($context$_parent) + $_parent;
  192.         // line 79
  193.         echo "</div>
  194. </body>
  195. </html>
  196. ";
  197.         
  198.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  199.         
  200.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  201.     }
  202.     // line 11
  203.     public function block_title($context, array $blocks = [])
  204.     {
  205.         $macros $this->macros;
  206.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  209.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  210.         echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'11$this->source); })()), "html"nulltrue);
  211.         
  212.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  213.         
  214.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  215.     }
  216.     // line 15
  217.     public function block_canonical($context, array $blocks = [])
  218.     {
  219.         $macros $this->macros;
  220.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  221.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  222.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  223.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  224.         // line 16
  225.         echo "        ";
  226.         if (twig_get_attribute($this->env$this->sourcetwig_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.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "attributes", [], "any"falsefalsefalse16), "get", ["_route"], "method"falsefalsefalse16)) {
  227.             echo "<link rel=\"canonical\" href=\"";
  228.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_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.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "attributes", [], "any"falsefalsefalse16), "get", ["_route"], "method"falsefalsefalse16), twig_get_attribute($this->env$this->sourcetwig_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.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "attributes", [], "any"falsefalsefalse16), "get", ["_route_params"], "method"falsefalsefalse16))), "html"nulltrue);
  229.             echo "\" />";
  230.         }
  231.         // line 17
  232.         echo "    ";
  233.         
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  235.         
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  237.     }
  238.     // line 19
  239.     public function block_favicon($context, array $blocks = [])
  240.     {
  241.         $macros $this->macros;
  242.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  243.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  244.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  245.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  246.         // line 20
  247.         echo "
  248.     ";
  249.         
  250.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  251.         
  252.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  253.     }
  254.     // line 29
  255.     public function block_meta($context, array $blocks = [])
  256.     {
  257.         $macros $this->macros;
  258.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  259.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  260.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  261.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  262.         // line 30
  263.         echo "        <meta name=\"description\" content=\"";
  264.         $this->displayBlock('metaDescription'$context$blocks);
  265.         echo "\">
  266.     ";
  267.         
  268.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  269.         
  270.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  271.     }
  272.     public function block_metaDescription($context, array $blocks = [])
  273.     {
  274.         $macros $this->macros;
  275.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  276.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  277.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  278.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  279.         echo twig_escape_filter($this->env, (isset($context["metaDesc"]) || array_key_exists("metaDesc"$context) ? $context["metaDesc"] : (function () { throw new RuntimeError('Variable "metaDesc" does not exist.'30$this->source); })()), "html"nulltrue);
  280.         
  281.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  282.         
  283.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  284.     }
  285.     // line 37
  286.     public function block_metaog($context, array $blocks = [])
  287.     {
  288.         $macros $this->macros;
  289.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  290.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaog"));
  291.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  292.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaog"));
  293.         // line 38
  294.         echo "        <meta property=\"og:type\" content=\"website\">
  295.         <meta property=\"og:title\" content=\"";
  296.         // line 39
  297.         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source, ($context["SEOPage"] ?? null), "metaTitle", [], "any"truetruefalse39) &&  !(null === twig_get_attribute($this->env$this->source, ($context["SEOPage"] ?? null), "metaTitle", [], "any"falsefalsefalse39)))) ? (twig_get_attribute($this->env$this->source, ($context["SEOPage"] ?? null), "metaTitle", [], "any"falsefalsefalse39)) : (twig_get_attribute($this->env$this->source, (isset($context["siteSettings"]) || array_key_exists("siteSettings"$context) ? $context["siteSettings"] : (function () { throw new RuntimeError('Variable "siteSettings" does not exist.'39$this->source); })()), "defaultTitle", [], "any"falsefalsefalse39))), "html"nulltrue);
  298.         echo "\">
  299.         <meta property=\"og:description\" content=\"";
  300.         // line 40
  301.         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source, ($context["SEOPage"] ?? null), "metaDescription", [], "any"truetruefalse40) &&  !(null === twig_get_attribute($this->env$this->source, ($context["SEOPage"] ?? null), "metaDescription", [], "any"falsefalsefalse40)))) ? (twig_get_attribute($this->env$this->source, ($context["SEOPage"] ?? null), "metaDescription", [], "any"falsefalsefalse40)) : (twig_get_attribute($this->env$this->source, (isset($context["siteSettings"]) || array_key_exists("siteSettings"$context) ? $context["siteSettings"] : (function () { throw new RuntimeError('Variable "siteSettings" does not exist.'40$this->source); })()), "defaultMetaDesc", [], "any"falsefalsefalse40))), "html"nulltrue);
  302.         echo "\">
  303.         <meta property=\"og:site_name\" content=\"";
  304.         // line 41
  305.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'41$this->source); })()), "request", [], "any"falsefalsefalse41), "server", [], "any"falsefalsefalse41), "get", ["SITENAME"], "method"falsefalsefalse41), "html"nulltrue);
  306.         echo "\">
  307.         <meta property=\"og:url\" content=\"";
  308.         // line 42
  309.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'42$this->source); })()), "request", [], "any"falsefalsefalse42), "server", [], "any"falsefalsefalse42), "get", ["HOSTNAME"], "method"falsefalsefalse42), "html"nulltrue);
  310.         echo "\">
  311.         <meta property=\"og:image\" content=\"";
  312.         // line 43
  313.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.jpg"), "html"nulltrue);
  314.         echo "\">
  315.     ";
  316.         
  317.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  318.         
  319.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  320.     }
  321.     // line 46
  322.     public function block_stylesheets($context, array $blocks = [])
  323.     {
  324.         $macros $this->macros;
  325.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  326.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  327.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  328.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  329.         // line 47
  330.         echo "        ";
  331.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  332.         echo "
  333.     ";
  334.         
  335.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  336.         
  337.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  338.     }
  339.     // line 50
  340.     public function block_javascripts($context, array $blocks = [])
  341.     {
  342.         $macros $this->macros;
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  344.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  346.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  347.         // line 51
  348.         echo "        ";
  349.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  350.         echo "
  351.         <script type=\"text/javascript\" src=\"https://www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js\"></script>
  352.     ";
  353.         
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  355.         
  356.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  357.     }
  358.     // line 61
  359.     public function block_body($context, array $blocks = [])
  360.     {
  361.         $macros $this->macros;
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  363.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  364.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  365.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  366.         
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  368.         
  369.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  370.     }
  371.     // line 65
  372.     public function block_bottomContent($context, array $blocks = [])
  373.     {
  374.         $macros $this->macros;
  375.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  376.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottomContent"));
  377.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  378.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottomContent"));
  379.         // line 66
  380.         echo "
  381. ";
  382.         
  383.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  384.         
  385.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  386.     }
  387.     /**
  388.      * @codeCoverageIgnore
  389.      */
  390.     public function getTemplateName()
  391.     {
  392.         return "@SocleTechnique/front/base.html.twig";
  393.     }
  394.     /**
  395.      * @codeCoverageIgnore
  396.      */
  397.     public function isTraitable()
  398.     {
  399.         return false;
  400.     }
  401.     /**
  402.      * @codeCoverageIgnore
  403.      */
  404.     public function getDebugInfo()
  405.     {
  406.         return array (  440 => 66,  430 => 65,  412 => 61,  398 => 51,  388 => 50,  375 => 47,  365 => 46,  353 => 43,  349 => 42,  345 => 41,  341 => 40,  337 => 39,  334 => 38,  324 => 37,  293 => 30,  283 => 29,  272 => 20,  262 => 19,  252 => 17,  245 => 16,  235 => 15,  216 => 11,  203 => 79,  194 => 76,  191 => 75,  186 => 74,  177 => 71,  174 => 70,  170 => 69,  167 => 68,  165 => 65,  163 => 64,  160 => 63,  157 => 62,  155 => 61,  152 => 60,  150 => 59,  145 => 56,  142 => 54,  140 => 50,  137 => 49,  134 => 46,  132 => 45,  130 => 37,  127 => 36,  123 => 34,  121 => 33,  118 => 32,  115 => 29,  112 => 28,  109 => 27,  106 => 26,  103 => 25,  100 => 24,  98 => 23,  95 => 22,  93 => 19,  90 => 18,  88 => 15,  82 => 12,  78 => 11,  75 => 10,  72 => 9,  69 => 8,  66 => 7,  63 => 6,  60 => 5,  58 => 4,  53 => 1,);
  407.     }
  408.     public function getSourceContext()
  409.     {
  410.         return new Source("<!DOCTYPE html>
  411. <html lang=\"fr\">
  412. <head>
  413.     {% set title = siteSettings.defaultTitle %}
  414.     {% if SEOPage is defined and SEOPage and SEOPage.metaTitle %}
  415.         {% set title = SEOPage.metaTitle %}
  416.     {% elseif page is defined and page %}
  417.         {% set title = page.metaTitle ?? page.defaultMetaTitle ? page.defaultMetaTitle ~ \" | \" ~ app.request.server.get('SITENAME') : title %}
  418.     {% endif %}
  419.     <meta charset=\"UTF-8\">
  420.     <title>{% block title %}{{ title }}{% endblock %}</title>
  421.     <link rel=\"icon\" href=\"{{ asset('favicon.ico') }}\">
  422.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
  423.     {% block canonical %}
  424.         {% if app.request.attributes.get('_route') %}<link rel=\"canonical\" href=\"{{ absolute_url(path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params'))) }}\" />{% endif %}
  425.     {% endblock %}
  426.     {% block favicon %}
  427.     {% endblock %}
  428.     {% set metaDesc = siteSettings.defaultMetaDesc %}
  429.     {% if SEOPage is defined and SEOPage and SEOPage.metaDescription %}
  430.         {% set metaDesc = SEOPage.metaDescription %}
  431.     {% elseif page is defined and page %}
  432.         {% set metaDesc = page.metaDescription ?? page.defaultMetaDescription ?? metaDesc %}
  433.     {% endif %}
  434.     {% block meta %}
  435.         <meta name=\"description\" content=\"{% block metaDescription %}{{ metaDesc }}{% endblock %}\">
  436.     {% endblock %}
  437.     {% if noindex is defined and noindex %}
  438.         <meta name=\"robots\" content=\"noindex\">
  439.     {% endif %}
  440.     {% block metaog %}
  441.         <meta property=\"og:type\" content=\"website\">
  442.         <meta property=\"og:title\" content=\"{{ SEOPage.metaTitle ?? siteSettings.defaultTitle }}\">
  443.         <meta property=\"og:description\" content=\"{{ SEOPage.metaDescription ?? siteSettings.defaultMetaDesc }}\">
  444.         <meta property=\"og:site_name\" content=\"{{ app.request.server.get('SITENAME') }}\">
  445.         <meta property=\"og:url\" content=\"{{ app.request.server.get('HOSTNAME') }}\">
  446.         <meta property=\"og:image\" content=\"{{ asset('build/images/logo.jpg') }}\">
  447.     {% endblock %}
  448.     {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  449.     {% block stylesheets %}
  450.         {{ encore_entry_link_tags('app') }}
  451.     {% endblock %}
  452.     {% block javascripts %}
  453.         {{ encore_entry_script_tags('app') }}
  454.         <script type=\"text/javascript\" src=\"https://www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js\"></script>
  455.     {% endblock %}
  456.     {# Hack for chrome bug. Wtf is going on ??? See https://bugs.chromium.org/p/chromium/issues/detail?id=332189 & https://bugs.chromium.org/p/chromium/issues/detail?id=167083 #}
  457.     <script> </script>
  458. </head>
  459. <body data-controller=\"global\">
  460. {% include 'commons/header.html.twig' %}
  461. <div id=\"main-content\">
  462.     {% block body %}{% endblock %}
  463.     {% include 'commons/footer.html.twig' %}
  464. </div>
  465. {% include 'commons/footer-external.html.twig' %}
  466. {% block bottomContent %}
  467. {% endblock %}
  468. <div id=\"alerts\">
  469.     {% for message in app.flashes('success') %}
  470.         <div class=\"alert alert-success\">
  471.             {{ message }}
  472.         </div>
  473.     {% endfor %}
  474.     {% for message in app.flashes('danger') %}
  475.         <div class=\"alert alert-danger\">
  476.             {{ message }}
  477.         </div>
  478.     {% endfor %}
  479. </div>
  480. </body>
  481. </html>
  482. ""@SocleTechnique/front/base.html.twig""/home/assurboat/assurboat/vendor/cofondateur/socle-technique/src/templates/front/base.html.twig");
  483.     }
  484. }