<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* Frontend/Page/page_single.html.twig */
class __TwigTemplate_90d8d4ca88e76fe05f3024d446493787 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'seoheader' => [$this, 'block_seoheader'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Frontend/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/Page/page_single.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/Page/page_single.html.twig"));
$this->parent = $this->loadTemplate("Frontend/base.html.twig", "Frontend/Page/page_single.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_seoheader($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoheader"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoheader"));
// line 4
yield " ";
yield from $this->loadTemplate("Frontend/Render/head/_seopage.html.twig", "Frontend/Page/page_single.html.twig", 4)->unwrap()->yield(CoreExtension::merge($context, ["page_selected" => (isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 4, $this->source); })())]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 11
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 12
yield "
\t<div class=\"content_pages ";
// line 13
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 13, $this->source); })()), "slug", [], "any", false, false, false, 13), "html", null, true);
yield "\">
\t\t";
// line 15
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 15, $this->source); })()), "categorie", [], "any", false, false, false, 15))) {
// line 16
yield "
\t\t\t";
// line 17
yield from $this->loadTemplate("Frontend/Render/_menu_pages.html.twig", "Frontend/Page/page_single.html.twig", 17)->unwrap()->yield(CoreExtension::merge($context, ["page_selected" => (isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 17, $this->source); })())]));
// line 18
yield "
\t\t\t";
// line 19
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 19, $this->source); })()), "categorie", [], "any", false, false, false, 19), "slug", [], "any", false, false, false, 19) == "people")) {
// line 20
yield "\t\t\t\t
\t\t\t\t<div class=\"titre_categorie\">
\t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/people.png\" alt=\"people\">
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t";
// line 25
yield $this->extensions['App\Twig\ProfsExtension']->getBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 25, $this->source); })()), "slug", [], "any", false, false, false, 25));
yield "
\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 27
(isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 27, $this->source); })()), "categorie", [], "any", false, false, false, 27), "slug", [], "any", false, false, false, 27) == "join-us")) {
// line 28
yield "
\t\t\t\t<div class=\"titre_categorie\">
\t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/join_us.png\" alt=\"join-us\">
\t\t\t\t</div>
\t\t\t";
}
// line 34
yield "\t\t\t
\t\t
\t\t";
}
// line 37
yield "\t\t\t
\t\t
\t\t";
// line 40
yield $this->extensions['App\Twig\PageExtension']->getLayoutPage(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page_selected"]) || array_key_exists("page_selected", $context) ? $context["page_selected"] : (function () { throw new RuntimeError('Variable "page_selected" does not exist.', 40, $this->source); })()), "slug", [], "any", false, false, false, 40));
yield "
\t\t
\t\t";
// line 52
yield "
\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "Frontend/Page/page_single.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 150 => 52, 144 => 40, 139 => 37, 134 => 34, 126 => 28, 124 => 27, 119 => 25, 112 => 20, 110 => 19, 107 => 18, 105 => 17, 102 => 16, 100 => 15, 95 => 13, 92 => 12, 82 => 11, 70 => 4, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'Frontend/base.html.twig' %}
{% block seoheader %}
{% include 'Frontend/Render/head/_seopage.html.twig' with {'page_selected':page_selected} %}
{% endblock %}
{#% block switcher %}
\t{% include 'Frontend/Render/_switcher.html.twig'%}
{% endblock switcher %#}
{% block body %}
\t<div class=\"content_pages {{page_selected.slug}}\">
\t\t{% if page_selected.categorie is not empty %}
\t\t\t{% include 'Frontend/Render/_menu_pages.html.twig' with {'page_selected':page_selected} %}
\t\t\t{% if page_selected.categorie.slug == 'people' %}
\t\t\t\t
\t\t\t\t<div class=\"titre_categorie\">
\t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/people.png\" alt=\"people\">
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t{{block_profs(page_selected.slug)|raw}}
\t\t\t{% elseif page_selected.categorie.slug == 'join-us' %}
\t\t\t\t<div class=\"titre_categorie\">
\t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/join_us.png\" alt=\"join-us\">
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t
\t\t
\t\t{% endif %}
\t\t\t
\t\t
\t\t{{layout_page(page_selected.slug)|raw}}
\t\t
\t\t{#% if page_selected.slug == 'press' %}
\t\t
\t\t\t{{layout_page(page_selected.slug)|raw}}
\t\t{% else %}
\t\t\t{{layout_page(page_selected.slug)|raw}}
\t\t\t
\t\t{% endif %#}
\t</div>
{% endblock body %}", "Frontend/Page/page_single.html.twig", "/home/site/wwwroot/templates/Frontend/Page/page_single.html.twig");
}
}