<?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;
/* article/detail.html.twig */
class __TwigTemplate_8d5352b608f48823b46f07c0e85febf3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 7
return "layouts/default.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", "article/detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "article/detail.html.twig"));
$this->parent = $this->loadTemplate("layouts/default.html.twig", "article/detail.html.twig", 7);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 10
echo "\t";
$this->loadTemplate("navigation/breadcrumb.html.twig", "article/detail.html.twig", 10)->display($context);
// line 11
echo "
\t";
// line 13
$this->loadTemplate("navigation/prev-next.html.twig", "article/detail.html.twig", 13)->display(twig_array_merge($context, ["overview" => (( // line 14
array_key_exists("overview", $context)) ? (_twig_default_filter((isset($context["overview"]) || array_key_exists("overview", $context) ? $context["overview"] : (function () { throw new RuntimeError('Variable "overview" does not exist.', 14, $this->source); })()), null)) : (null)), "prev" => (( // line 15
array_key_exists("prev", $context)) ? (_twig_default_filter((isset($context["prev"]) || array_key_exists("prev", $context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.', 15, $this->source); })()), null)) : (null)), "next" => (( // line 16
array_key_exists("next", $context)) ? (_twig_default_filter((isset($context["next"]) || array_key_exists("next", $context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.', 16, $this->source); })()), null)) : (null))]));
// line 19
echo "
\t";
// line 20
$this->loadTemplate("includes/areabrick.html.twig", "article/detail.html.twig", 20)->display(twig_array_merge($context, ["id" => "sections", "controlsAlign" => "top"]));
// line 21
echo "
\t";
// line 23
$this->loadTemplate("navigation/prev-next.html.twig", "article/detail.html.twig", 23)->display(twig_array_merge($context, ["overview" => (( // line 24
array_key_exists("overview", $context)) ? (_twig_default_filter((isset($context["overview"]) || array_key_exists("overview", $context) ? $context["overview"] : (function () { throw new RuntimeError('Variable "overview" does not exist.', 24, $this->source); })()), null)) : (null)), "prev" => (( // line 25
array_key_exists("prev", $context)) ? (_twig_default_filter((isset($context["prev"]) || array_key_exists("prev", $context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.', 25, $this->source); })()), null)) : (null)), "next" => (( // line 26
array_key_exists("next", $context)) ? (_twig_default_filter((isset($context["next"]) || array_key_exists("next", $context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.', 26, $this->source); })()), null)) : (null)), "bottom" => true]));
// line 30
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "article/detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 94 => 30, 92 => 26, 91 => 25, 90 => 24, 89 => 23, 86 => 21, 84 => 20, 81 => 19, 79 => 16, 78 => 15, 77 => 14, 76 => 13, 73 => 11, 70 => 10, 60 => 9, 37 => 7,);
}
public function getSourceContext()
{
return new Source("{#
project: Pimcore - Schutzverband Nuernberg Rostbratwuerste
User: erikb
Year: 2022
#}
{% extends 'layouts/default.html.twig' %}
{% block content %}
\t{% include 'navigation/breadcrumb.html.twig' %}
\t{%
\t\tinclude 'navigation/prev-next.html.twig' with {
\t\t\t'overview': overview|default(null),
\t\t\t'prev': prev|default(null),
\t\t\t'next': next|default(null)
\t\t}
\t%}
\t{% include 'includes/areabrick.html.twig' with {'id': 'sections', 'controlsAlign': 'top' } %}
\t{%
\t\tinclude 'navigation/prev-next.html.twig' with {
\t\t\t'overview': overview|default(null),
\t\t\t'prev': prev|default(null),
\t\t\t'next': next|default(null),
\t\t\t'bottom': true
\t\t}
\t%}
{% endblock content %}", "article/detail.html.twig", "/var/www/snr/staging.nuernberger-bratwuerste.de/templates/article/detail.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 10);
static $filters = array("default" => 14);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['include'],
['default'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}