var/cache/dev/twig/f7/f7e4e93a3fbf7c1e4973d5c563e90648.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\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/index.html.twig */
  15. class __TwigTemplate_6978d4894e2a0c9edf91bf00af44ec07 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.             'switcher' => [$this'block_switcher'],
  26.             'body' => [$this'block_body'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "Frontend/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/Page/index.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/Page/index.html.twig"));
  41.         $this->parent $this->loadTemplate("Frontend/base.html.twig""Frontend/Page/index.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 4
  49.     public function block_seoheader($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seoheader"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seoheader"));
  56.         // line 5
  57.         yield "    ";
  58.         yield from         $this->loadTemplate("Frontend/Render/head/_seopage.html.twig""Frontend/Page/index.html.twig"5)->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.'5$this->source); })())]));
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.         return; yield '';
  64.     }
  65.     // line 9
  66.     public function block_switcher($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""switcher"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""switcher"));
  73.         // line 10
  74.         yield "\t";
  75.         yield from         $this->loadTemplate("Frontend/Render/_switcher_home.html.twig""Frontend/Page/index.html.twig"10)->unwrap()->yield($context);
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.         return; yield '';
  81.     }
  82.     // line 13
  83.     public function block_body($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  90.         // line 14
  91.         yield "
  92.    
  93.     ";
  94.         // line 17
  95.         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.'17$this->source); })()), "slug", [], "any"falsefalsefalse17));
  96.         yield "
  97.     
  98. ";
  99.         
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.         return; yield '';
  104.     }
  105.     /**
  106.      * @codeCoverageIgnore
  107.      */
  108.     public function getTemplateName()
  109.     {
  110.         return "Frontend/Page/index.html.twig";
  111.     }
  112.     /**
  113.      * @codeCoverageIgnore
  114.      */
  115.     public function isTraitable()
  116.     {
  117.         return false;
  118.     }
  119.     /**
  120.      * @codeCoverageIgnore
  121.      */
  122.     public function getDebugInfo()
  123.     {
  124.         return array (  120 => 17,  115 => 14,  105 => 13,  93 => 10,  83 => 9,  71 => 5,  61 => 4,  38 => 1,);
  125.     }
  126.     public function getSourceContext()
  127.     {
  128.         return new Source("{% extends 'Frontend/base.html.twig' %}
  129. {% block seoheader %}
  130.     {% include 'Frontend/Render/head/_seopage.html.twig' with {'page_selected':page_selected} %}
  131. {% endblock %}
  132. {% block switcher %}
  133. \t{% include 'Frontend/Render/_switcher_home.html.twig'%}
  134. {% endblock switcher %}
  135. {% block body %}
  136.    
  137.     {{layout_page(page_selected.slug)|raw}}
  138.     
  139. {% endblock body %}""Frontend/Page/index.html.twig""/home/site/wwwroot/templates/Frontend/Page/index.html.twig");
  140.     }
  141. }