var/cache/dev/twig/26/266a7862488130d9397082c062879bd5d509ac4c9e94a83b559ceaf5f87086d5.php line 34

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. /* Pages/ClubsOverviewPage/pagetemplate.html.twig */
  14. class __TwigTemplate_e091bc329987929863585843a4f9ae325b8acc6d5cbd27ae5f06182a0e4d2957 extends \Twig\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.             'breadcrumbs' => [$this'block_breadcrumbs'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/ClubsOverviewPage/pagetemplate.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/ClubsOverviewPage/pagetemplate.html.twig"));
  34.         // line 1
  35.         $context["currentUrl"] = twig_get_attribute($this->env$this->sourcetwig_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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "attributes", [], "any"falsefalsefalse1), "get", [=> "_nodeTranslation"], "method"falsefalsefalse1), "url", [], "any"falsefalsefalse1);
  36.         // line 2
  37.         $context["baseRoute"] = ("_slug" . ((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.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "attributes", [], "any"falsefalsefalse2), "get", [=> "preview"], "method"falsefalsefalse2)) ? ("_preview") : ("")));
  38.         // line 3
  39.         $context["basePath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["baseRoute"]) || array_key_exists("baseRoute"$context) ? $context["baseRoute"] : (function () { throw new RuntimeError('Variable "baseRoute" does not exist.'3$this->source); })()), ["url" => (isset($context["currentUrl"]) || array_key_exists("currentUrl"$context) ? $context["currentUrl"] : (function () { throw new RuntimeError('Variable "currentUrl" does not exist.'3$this->source); })()), "_locale" => twig_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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3)]);
  40.         // line 4
  41.         $context["categoryContext"] = $this->extensions['Kunstmaan\ArticleBundle\Twig\ArticleTwigExtension']->getCategories(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.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "App:ClubsCategory");
  42.         // line 5
  43.         echo "
  44. <div class=\"clubs-overview-page\">
  45.     ";
  46.         // line 9
  47.         echo "    ";
  48.         $this->loadTemplate("Layout/_page-header.html.twig""Pages/ClubsOverviewPage/pagetemplate.html.twig"9)->display(twig_array_merge($context, ["page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'9$this->source); })())]));
  49.         // line 10
  50.         echo "
  51.     ";
  52.         // line 12
  53.         echo "    ";
  54.         $this->displayBlock('breadcrumbs'$context$blocks);
  55.         // line 15
  56.         echo "
  57.     <div class=\"content\">
  58.         <h1 role=\"heading\" aria-level=\"1\">";
  59.         // line 17
  60.         echo twig_escape_filter($this->envtwig_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.'17$this->source); })()), "pageTitle", [], "any"falsefalsefalse17), "html"nulltrue);
  61.         echo "</h1>
  62.     </div>
  63.     <div class=\"tile-menu-pp\">
  64.         <ul class=\"tile-menu\">
  65.             ";
  66.         // line 22
  67.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ClubsArticleController:categories"));
  68.         echo "
  69.         </ul>
  70.     </div>
  71. </div>
  72. ";
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.         
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  77.     }
  78.     // line 12
  79.     public function block_breadcrumbs($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  86.         // line 13
  87.         echo "        ";
  88.         $this->loadTemplate("Layout/_breadcrumbs.html.twig""Pages/ClubsOverviewPage/pagetemplate.html.twig"13)->display(twig_array_merge($context, ["refererString" => twig_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.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "get", [=> "path"], "method"falsefalsefalse13)]));
  89.         // line 14
  90.         echo "    ";
  91.         
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  93.         
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  95.     }
  96.     public function getTemplateName()
  97.     {
  98.         return "Pages/ClubsOverviewPage/pagetemplate.html.twig";
  99.     }
  100.     public function isTraitable()
  101.     {
  102.         return false;
  103.     }
  104.     public function getDebugInfo()
  105.     {
  106.         return array (  107 => 14,  104 => 13,  94 => 12,  78 => 22,  70 => 17,  66 => 15,  63 => 12,  60 => 10,  57 => 9,  52 => 5,  50 => 4,  48 => 3,  46 => 2,  44 => 1,);
  107.     }
  108.     public function getSourceContext()
  109.     {
  110.         return new Source("{% set currentUrl = app.request.attributes.get('_nodeTranslation').url %}
  111. {% set baseRoute = '_slug' ~ (app.request.attributes.get('preview') ? '_preview' : '') %}
  112. {% set basePath = path(baseRoute, { 'url': currentUrl, '_locale': app.request.locale }) %}
  113. {% set categoryContext = get_article_categories(app.request, 'App:ClubsCategory') %}
  114. <div class=\"clubs-overview-page\">
  115.     {# Page Header #}
  116.     {% include 'Layout/_page-header.html.twig' with { 'page' : page } %}
  117.     {# Breadcrumbs #}
  118.     {% block breadcrumbs %}
  119.         {% include 'Layout/_breadcrumbs.html.twig' with { 'refererString' : app.request.get('path') } %}
  120.     {% endblock %}
  121.     <div class=\"content\">
  122.         <h1 role=\"heading\" aria-level=\"1\">{{ page.pageTitle }}</h1>
  123.     </div>
  124.     <div class=\"tile-menu-pp\">
  125.         <ul class=\"tile-menu\">
  126.             {{ render_esi(controller('App\\\\Controller\\\\ClubsArticleController:categories' )) }}
  127.         </ul>
  128.     </div>
  129. </div>
  130. ""Pages/ClubsOverviewPage/pagetemplate.html.twig""/var/www/gcs/html/dev/templates/Pages/ClubsOverviewPage/pagetemplate.html.twig");
  131.     }
  132. }