<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @SocleTechnique/front/base.html.twig */
class __TwigTemplate_35c228abcbe2213455ee89e2489268fff9eea3ef84511fe31644204f31abaff5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'canonical' => [$this, 'block_canonical'],
'favicon' => [$this, 'block_favicon'],
'meta' => [$this, 'block_meta'],
'metaDescription' => [$this, 'block_metaDescription'],
'metaog' => [$this, 'block_metaog'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'body' => [$this, 'block_body'],
'bottomContent' => [$this, 'block_bottomContent'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SocleTechnique/front/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SocleTechnique/front/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"fr\">
<head>
";
// line 4
$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", false, false, false, 4);
// line 5
echo " ";
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", false, false, false, 5))) {
// line 6
echo " ";
$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", false, false, false, 6);
// line 7
echo " ";
} 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); })()))) {
// line 8
echo " ";
$context["title"] = (((((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "metaTitle", [], "any", true, true, false, 8) && !(null === twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "metaTitle", [], "any", false, false, false, 8)))) ? (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "metaTitle", [], "any", false, false, false, 8)) : (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", false, false, false, 8)))) ? (((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", false, false, false, 8) . " | ") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "server", [], "any", false, false, false, 8), "get", ["SITENAME"], "method", false, false, false, 8))) : ((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 8, $this->source); })())));
// line 9
echo " ";
}
// line 10
echo " <meta charset=\"UTF-8\">
<title>";
// line 11
$this->displayBlock('title', $context, $blocks);
echo "</title>
<link rel=\"icon\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
echo "\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
";
// line 15
$this->displayBlock('canonical', $context, $blocks);
// line 18
echo "
";
// line 19
$this->displayBlock('favicon', $context, $blocks);
// line 22
echo "
";
// line 23
$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", false, false, false, 23);
// line 24
echo " ";
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", false, false, false, 24))) {
// line 25
echo " ";
$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", false, false, false, 25);
// line 26
echo " ";
} 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); })()))) {
// line 27
echo " ";
$context["metaDesc"] = (((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "metaDescription", [], "any", true, true, false, 27) && !(null === twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "metaDescription", [], "any", false, false, false, 27)))) ? (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "metaDescription", [], "any", false, false, false, 27)) : ((((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "defaultMetaDescription", [], "any", true, true, false, 27) && !(null === twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "defaultMetaDescription", [], "any", false, false, false, 27)))) ? (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "defaultMetaDescription", [], "any", false, false, false, 27)) : ((isset($context["metaDesc"]) || array_key_exists("metaDesc", $context) ? $context["metaDesc"] : (function () { throw new RuntimeError('Variable "metaDesc" does not exist.', 27, $this->source); })())))));
// line 28
echo " ";
}
// line 29
echo " ";
$this->displayBlock('meta', $context, $blocks);
// line 32
echo "
";
// line 33
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); })()))) {
// line 34
echo " <meta name=\"robots\" content=\"noindex\">
";
}
// line 36
echo "
";
// line 37
$this->displayBlock('metaog', $context, $blocks);
// line 45
echo " ";
// line 46
echo " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 49
echo "
";
// line 50
$this->displayBlock('javascripts', $context, $blocks);
// line 54
echo "
";
// line 56
echo " <script> </script>
</head>
<body data-controller=\"global\">
";
// line 59
$this->loadTemplate("commons/header.html.twig", "@SocleTechnique/front/base.html.twig", 59)->display($context);
// line 60
echo "<div id=\"main-content\">
";
// line 61
$this->displayBlock('body', $context, $blocks);
// line 62
echo " ";
$this->loadTemplate("commons/footer.html.twig", "@SocleTechnique/front/base.html.twig", 62)->display($context);
// line 63
echo "</div>
";
// line 64
$this->loadTemplate("commons/footer-external.html.twig", "@SocleTechnique/front/base.html.twig", 64)->display($context);
// line 65
$this->displayBlock('bottomContent', $context, $blocks);
// line 68
echo "<div id=\"alerts\">
";
// line 69
$context['_parent'] = $context;
$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", false, false, false, 69));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 70
echo " <div class=\"alert alert-success\">
";
// line 71
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
echo " ";
$context['_parent'] = $context;
$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", false, false, false, 74));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 75
echo " <div class=\"alert alert-danger\">
";
// line 76
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 79
echo "</div>
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 11
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
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", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 15
public function block_canonical($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
// line 16
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "attributes", [], "any", false, false, false, 16), "get", ["_route"], "method", false, false, false, 16)) {
echo "<link rel=\"canonical\" href=\"";
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->source, twig_get_attribute($this->env, $this->source, 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.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "attributes", [], "any", false, false, false, 16), "get", ["_route"], "method", false, false, false, 16), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "attributes", [], "any", false, false, false, 16), "get", ["_route_params"], "method", false, false, false, 16))), "html", null, true);
echo "\" />";
}
// line 17
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 19
public function block_favicon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
// line 20
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 30
echo " <meta name=\"description\" content=\"";
$this->displayBlock('metaDescription', $context, $blocks);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function block_metaDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
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", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 37
public function block_metaog($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaog"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaog"));
// line 38
echo " <meta property=\"og:type\" content=\"website\">
<meta property=\"og:title\" content=\"";
// line 39
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["SEOPage"] ?? null), "metaTitle", [], "any", true, true, false, 39) && !(null === twig_get_attribute($this->env, $this->source, ($context["SEOPage"] ?? null), "metaTitle", [], "any", false, false, false, 39)))) ? (twig_get_attribute($this->env, $this->source, ($context["SEOPage"] ?? null), "metaTitle", [], "any", false, false, false, 39)) : (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", false, false, false, 39))), "html", null, true);
echo "\">
<meta property=\"og:description\" content=\"";
// line 40
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["SEOPage"] ?? null), "metaDescription", [], "any", true, true, false, 40) && !(null === twig_get_attribute($this->env, $this->source, ($context["SEOPage"] ?? null), "metaDescription", [], "any", false, false, false, 40)))) ? (twig_get_attribute($this->env, $this->source, ($context["SEOPage"] ?? null), "metaDescription", [], "any", false, false, false, 40)) : (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", false, false, false, 40))), "html", null, true);
echo "\">
<meta property=\"og:site_name\" content=\"";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 41, $this->source); })()), "request", [], "any", false, false, false, 41), "server", [], "any", false, false, false, 41), "get", ["SITENAME"], "method", false, false, false, 41), "html", null, true);
echo "\">
<meta property=\"og:url\" content=\"";
// line 42
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 42, $this->source); })()), "request", [], "any", false, false, false, 42), "server", [], "any", false, false, false, 42), "get", ["HOSTNAME"], "method", false, false, false, 42), "html", null, true);
echo "\">
<meta property=\"og:image\" content=\"";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.jpg"), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 46
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 47
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 50
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 51
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
<script type=\"text/javascript\" src=\"https://www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 61
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 65
public function block_bottomContent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottomContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottomContent"));
// line 66
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@SocleTechnique/front/base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"fr\">
<head>
{% set title = siteSettings.defaultTitle %}
{% if SEOPage is defined and SEOPage and SEOPage.metaTitle %}
{% set title = SEOPage.metaTitle %}
{% elseif page is defined and page %}
{% set title = page.metaTitle ?? page.defaultMetaTitle ? page.defaultMetaTitle ~ \" | \" ~ app.request.server.get('SITENAME') : title %}
{% endif %}
<meta charset=\"UTF-8\">
<title>{% block title %}{{ title }}{% endblock %}</title>
<link rel=\"icon\" href=\"{{ asset('favicon.ico') }}\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
{% block canonical %}
{% 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 %}
{% endblock %}
{% block favicon %}
{% endblock %}
{% set metaDesc = siteSettings.defaultMetaDesc %}
{% if SEOPage is defined and SEOPage and SEOPage.metaDescription %}
{% set metaDesc = SEOPage.metaDescription %}
{% elseif page is defined and page %}
{% set metaDesc = page.metaDescription ?? page.defaultMetaDescription ?? metaDesc %}
{% endif %}
{% block meta %}
<meta name=\"description\" content=\"{% block metaDescription %}{{ metaDesc }}{% endblock %}\">
{% endblock %}
{% if noindex is defined and noindex %}
<meta name=\"robots\" content=\"noindex\">
{% endif %}
{% block metaog %}
<meta property=\"og:type\" content=\"website\">
<meta property=\"og:title\" content=\"{{ SEOPage.metaTitle ?? siteSettings.defaultTitle }}\">
<meta property=\"og:description\" content=\"{{ SEOPage.metaDescription ?? siteSettings.defaultMetaDesc }}\">
<meta property=\"og:site_name\" content=\"{{ app.request.server.get('SITENAME') }}\">
<meta property=\"og:url\" content=\"{{ app.request.server.get('HOSTNAME') }}\">
<meta property=\"og:image\" content=\"{{ asset('build/images/logo.jpg') }}\">
{% endblock %}
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
<script type=\"text/javascript\" src=\"https://www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js\"></script>
{% endblock %}
{# 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 #}
<script> </script>
</head>
<body data-controller=\"global\">
{% include 'commons/header.html.twig' %}
<div id=\"main-content\">
{% block body %}{% endblock %}
{% include 'commons/footer.html.twig' %}
</div>
{% include 'commons/footer-external.html.twig' %}
{% block bottomContent %}
{% endblock %}
<div id=\"alerts\">
{% for message in app.flashes('success') %}
<div class=\"alert alert-success\">
{{ message }}
</div>
{% endfor %}
{% for message in app.flashes('danger') %}
<div class=\"alert alert-danger\">
{{ message }}
</div>
{% endfor %}
</div>
</body>
</html>
", "@SocleTechnique/front/base.html.twig", "/home/assurboat/assurboat/vendor/cofondateur/socle-technique/src/templates/front/base.html.twig");
}
}