<?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;
/* Pages/ClubsOverviewPage/pagetemplate.html.twig */
class __TwigTemplate_e091bc329987929863585843a4f9ae325b8acc6d5cbd27ae5f06182a0e4d2957 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'breadcrumbs' => [$this, 'block_breadcrumbs'],
];
}
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", "Pages/ClubsOverviewPage/pagetemplate.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Pages/ClubsOverviewPage/pagetemplate.html.twig"));
// line 1
$context["currentUrl"] = twig_get_attribute($this->env, $this->source, 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "attributes", [], "any", false, false, false, 1), "get", [0 => "_nodeTranslation"], "method", false, false, false, 1), "url", [], "any", false, false, false, 1);
// line 2
$context["baseRoute"] = ("_slug" . ((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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "attributes", [], "any", false, false, false, 2), "get", [0 => "preview"], "method", false, false, false, 2)) ? ("_preview") : ("")));
// line 3
$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->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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3)]);
// line 4
$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", false, false, false, 4), "App:ClubsCategory");
// line 5
echo "
<div class=\"clubs-overview-page\">
";
// line 9
echo " ";
$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); })())]));
// line 10
echo "
";
// line 12
echo " ";
$this->displayBlock('breadcrumbs', $context, $blocks);
// line 15
echo "
<div class=\"content\">
<h1 role=\"heading\" aria-level=\"1\">";
// line 17
echo twig_escape_filter($this->env, 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.', 17, $this->source); })()), "pageTitle", [], "any", false, false, false, 17), "html", null, true);
echo "</h1>
</div>
<div class=\"tile-menu-pp\">
<ul class=\"tile-menu\">
";
// line 22
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ClubsArticleController:categories"));
echo "
</ul>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 12
public function block_breadcrumbs($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", "breadcrumbs"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
// line 13
echo " ";
$this->loadTemplate("Layout/_breadcrumbs.html.twig", "Pages/ClubsOverviewPage/pagetemplate.html.twig", 13)->display(twig_array_merge($context, ["refererString" => 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.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "get", [0 => "path"], "method", false, false, false, 13)]));
// line 14
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Pages/ClubsOverviewPage/pagetemplate.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% set currentUrl = app.request.attributes.get('_nodeTranslation').url %}
{% set baseRoute = '_slug' ~ (app.request.attributes.get('preview') ? '_preview' : '') %}
{% set basePath = path(baseRoute, { 'url': currentUrl, '_locale': app.request.locale }) %}
{% set categoryContext = get_article_categories(app.request, 'App:ClubsCategory') %}
<div class=\"clubs-overview-page\">
{# Page Header #}
{% include 'Layout/_page-header.html.twig' with { 'page' : page } %}
{# Breadcrumbs #}
{% block breadcrumbs %}
{% include 'Layout/_breadcrumbs.html.twig' with { 'refererString' : app.request.get('path') } %}
{% endblock %}
<div class=\"content\">
<h1 role=\"heading\" aria-level=\"1\">{{ page.pageTitle }}</h1>
</div>
<div class=\"tile-menu-pp\">
<ul class=\"tile-menu\">
{{ render_esi(controller('App\\\\Controller\\\\ClubsArticleController:categories' )) }}
</ul>
</div>
</div>
", "Pages/ClubsOverviewPage/pagetemplate.html.twig", "/var/www/gcs/html/dev/templates/Pages/ClubsOverviewPage/pagetemplate.html.twig");
}
}