var/cache/dev/twig/9d/9d3949e78e28f57f5c56dd1237c87968.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* Frontend/Page/page_single.html.twig */
  15. class __TwigTemplate_90d8d4ca88e76fe05f3024d446493787 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'seoheader' => [$this'block_seoheader'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "Frontend/base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/Page/page_single.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/Page/page_single.html.twig"));
  40.         $this->parent $this->loadTemplate("Frontend/base.html.twig""Frontend/Page/page_single.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_seoheader($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seoheader"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seoheader"));
  55.         // line 4
  56.         yield "    ";
  57.         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); })())]));
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.         return; yield '';
  63.     }
  64.     // line 11
  65.     public function block_body($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  72.         // line 12
  73.         yield "
  74. \t<div class=\"content_pages ";
  75.         // line 13
  76.         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"falsefalsefalse13), "html"nulltrue);
  77.         yield "\">
  78. \t\t";
  79.         // line 15
  80.         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"falsefalsefalse15))) {
  81.             // line 16
  82.             yield "
  83. \t\t\t";
  84.             // line 17
  85.             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); })())]));
  86.             // line 18
  87.             yield "
  88. \t\t\t";
  89.             // line 19
  90.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse19), "slug", [], "any"falsefalsefalse19) == "people")) {
  91.                 // line 20
  92.                 yield "\t\t\t\t
  93. \t\t\t\t<div class=\"titre_categorie\">
  94. \t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/people.png\" alt=\"people\">
  95. \t\t\t\t</div>
  96. \t\t\t\t
  97. \t\t\t\t";
  98.                 // line 25
  99.                 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"falsefalsefalse25));
  100.                 yield "
  101. \t\t\t";
  102.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 27
  103. (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"falsefalsefalse27), "slug", [], "any"falsefalsefalse27) == "join-us")) {
  104.                 // line 28
  105.                 yield "
  106. \t\t\t\t<div class=\"titre_categorie\">
  107. \t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/join_us.png\" alt=\"join-us\">
  108. \t\t\t\t</div>
  109. \t\t\t";
  110.             }
  111.             // line 34
  112.             yield "\t\t\t
  113. \t\t
  114. \t\t";
  115.         }
  116.         // line 37
  117.         yield "\t\t\t
  118. \t\t
  119. \t\t";
  120.         // line 40
  121.         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"falsefalsefalse40));
  122.         yield "
  123. \t\t
  124. \t\t";
  125.         // line 52
  126.         yield "
  127. \t</div>
  128. ";
  129.         
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  131.         
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133.         return; yield '';
  134.     }
  135.     /**
  136.      * @codeCoverageIgnore
  137.      */
  138.     public function getTemplateName()
  139.     {
  140.         return "Frontend/Page/page_single.html.twig";
  141.     }
  142.     /**
  143.      * @codeCoverageIgnore
  144.      */
  145.     public function isTraitable()
  146.     {
  147.         return false;
  148.     }
  149.     /**
  150.      * @codeCoverageIgnore
  151.      */
  152.     public function getDebugInfo()
  153.     {
  154.         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,);
  155.     }
  156.     public function getSourceContext()
  157.     {
  158.         return new Source("{% extends 'Frontend/base.html.twig' %}
  159. {% block seoheader %}
  160.     {% include 'Frontend/Render/head/_seopage.html.twig' with {'page_selected':page_selected} %}
  161. {% endblock %}
  162. {#% block switcher %}
  163. \t{% include 'Frontend/Render/_switcher.html.twig'%}
  164. {% endblock switcher %#}
  165. {% block body %}
  166. \t<div class=\"content_pages {{page_selected.slug}}\">
  167. \t\t{% if page_selected.categorie is not empty %}
  168. \t\t\t{% include 'Frontend/Render/_menu_pages.html.twig' with {'page_selected':page_selected} %}
  169. \t\t\t{% if page_selected.categorie.slug == 'people' %}
  170. \t\t\t\t
  171. \t\t\t\t<div class=\"titre_categorie\">
  172. \t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/people.png\" alt=\"people\">
  173. \t\t\t\t</div>
  174. \t\t\t\t
  175. \t\t\t\t{{block_profs(page_selected.slug)|raw}}
  176. \t\t\t{% elseif page_selected.categorie.slug == 'join-us' %}
  177. \t\t\t\t<div class=\"titre_categorie\">
  178. \t\t\t\t\t<img class=\"img-fluid\" src=\"/assets/img/join_us.png\" alt=\"join-us\">
  179. \t\t\t\t</div>
  180. \t\t\t{% endif %}
  181. \t\t\t
  182. \t\t
  183. \t\t{% endif %}
  184. \t\t\t
  185. \t\t
  186. \t\t{{layout_page(page_selected.slug)|raw}}
  187. \t\t
  188. \t\t{#% if page_selected.slug == 'press' %}
  189. \t\t
  190. \t\t\t{{layout_page(page_selected.slug)|raw}}
  191. \t\t{% else %}
  192. \t\t\t{{layout_page(page_selected.slug)|raw}}
  193. \t\t\t
  194. \t\t{% endif %#}
  195. \t</div>
  196. {% endblock body %}""Frontend/Page/page_single.html.twig""/home/site/wwwroot/templates/Frontend/Page/page_single.html.twig");
  197.     }
  198. }