<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* layout/base.html.twig */
class __TwigTemplate_6e24767e5d399b92230a33b018e705d9 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'sidebar' => [$this, 'block_sidebar'],
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "layout/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"de\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<title>";
// line 6
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/bootstrap.css?";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\UtilsExtension']->getMd5File("/static/css/bootstrap.css"), "html", null, true);
yield "\"/>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/styles.css?";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\UtilsExtension']->getMd5File("/static/css/styles.css"), "html", null, true);
yield "\"/>
<script src=\"/static/js/app.js?";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\UtilsExtension']->getMd5File("/static/js/app.js"), "html", null, true);
yield "\" type=\"text/javascript\"></script>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"icon\" type=\"image/vnd.icon\" href=\"/var/assets/Layout/Logo.png\">
<meta name=\"robots\" content=\"index\"/>
<meta name=\"description\" content=\"Faschingskomitee der Bauhaus Universität Weimar e.V.\"/>
</head>
<body data-bs-theme=\"light\">
";
// line 18
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 18, $this->source); })()))) {
// line 19
yield " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 20
yield " ";
}
// line 21
yield " ";
$context["navStartNode"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 21, $this->source); })()), "getProperty", ["navigation_root"], "method", false, false, true, 21);
// line 22
yield "
";
// line 23
if ( !$this->env->getTest('instanceof')->getCallable()((isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 23, $this->source); })()), "\\Pimcore\\Model\\Document")) {
// line 24
yield " ";
$context["navStartNode"] = Pimcore\Model\Document::getById(1);
// line 25
yield " ";
}
// line 26
yield "
";
// line 27
$context["mainNavigation"] = $this->extensions['App\Twig\Extension\NavigationExtension']->mainNavigation($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 27, $this->source); })()), 27, $this->source), $this->sandbox->ensureToStringAllowed((isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 27, $this->source); })()), 27, $this->source));
// line 28
yield "
";
// line 30
yield " <button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"container-fluid\">
";
// line 36
yield " <header class=\"row py-3\">
<div class=\"col-12 d-flex justify-content-between align-items-center\">
<a href=\"/\" class=\"\">
";
// line 39
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, Pimcore\Model\Asset::getByPath("/Layout/Logo.png"), "thumbnail", ["default"], "method", false, false, true, 39), "html", [["imgAttributes" => ["id" => "logo"]]], "method", false, false, true, 39), 39, $this->source);
yield "
</a>
<div class=\"d-flex align-items-center gap-2\">
";
// line 43
yield " <button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
";
// line 47
yield " <button class=\"btn btn-contrast\" type=\"button\" aria-label=\"Toggle theme\" data-bs-toggle=\"theme\">
<svg class=\"icon-light\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"/>
</svg>
<svg class=\"icon-dark\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"/>
</svg>
</button>
</div>
</div>
</header>
<div class=\"row\">
";
// line 61
yield " <div class=\"col-md-2\">
<div class=\"nav-wrapper\">
<nav class=\"py-4 bg-light offcanvas-md offcanvas-start\" tabindex=\"-1\" id=\"mainNavigation\" aria-labelledby=\"mainNavigationLabel\">
<div class=\"offcanvas-header d-md-none\">
<h5 class=\"offcanvas-title\" id=\"mainNavigationLabel\">Menü</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body p-0\">
<ul class=\"nav flex-column\">
";
// line 70
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["mainNavigation"]) || array_key_exists("mainNavigation", $context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.', 70, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["page"]) {
// line 71
yield " <li class=\"nav-item\">
<a class=\"nav-link ";
// line 72
if (CoreExtension::getAttribute($this->env, $this->source, $context["page"], "active", [], "any", false, false, true, 72)) {
yield "active";
}
yield "\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["page"], "href", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["page"], "label", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
yield "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['page'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
yield " </ul>
</div>
</nav>
</div>
</div>
";
// line 82
yield " <div class=\"content-wrapper\">
<div class=\"row flex-grow-1\">
";
// line 85
yield " <main class=\"col-md-8 py-4\">
";
// line 87
yield " <nav aria-label=\"breadcrumb\" class=\"mb-4\">
<ol class=\"breadcrumb\">
";
// line 89
$context["mainNavStartNode"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 89, $this->source); })()), "getProperty", ["navigation_root"], "method", false, false, true, 89);
// line 90
yield " ";
if (Twig\Extension\CoreExtension::testEmpty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 90, $this->source); })()))) {
// line 91
yield " ";
$context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
// line 92
yield " ";
}
// line 93
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 93, $this->source); })()), "id", [], "any", false, false, true, 93) != CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 93, $this->source); })()), "id", [], "any", false, false, true, 93)) || (CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 93, $this->source); })()), "key", [], "any", false, false, true, 93) == "exceptionPage_1678441938013"))) {
// line 94
yield " ";
$context["breadcrumbs"] = $this->extensions['App\Twig\Extension\UtilsExtension']->buildBreadcrumbs($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 94, $this->source); })()), 94, $this->source), $this->sandbox->ensureToStringAllowed((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 94, $this->source); })()), 94, $this->source));
// line 95
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 95, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 96
yield " ";
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, true, 96)) {
// line 97
yield " ";
$context["label"] = (((Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 97), 97, $this->source)) > 50)) ? ((Twig\Extension\CoreExtension::slice($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 97), 97, $this->source), 0, 50) . "…")) : (CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 97)));
// line 98
yield " <li class=\"breadcrumb-item\">
<a href=\"";
// line 99
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "url", [], "any", false, false, true, 99), 99, $this->source), "html", null, true);
yield "\" class=\"text-decoration-none\">
";
// line 100
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 100, $this->source); })()), 100, $this->source), "html", null, true);
yield "
</a>
</li>
";
} else {
// line 104
yield " <li class=\"breadcrumb-item active\" aria-current=\"page\">
";
// line 105
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 105), 105, $this->source), "html", null, true);
yield "
</li>
";
}
// line 108
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
yield " ";
}
// line 110
yield " </ol>
</nav>
";
// line 114
yield " ";
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 115
yield " </main>
";
// line 118
yield " <aside class=\"col-md-4 py-4\">
<h2>Sponsoren</h2>
";
// line 120
yield Twig\Extension\CoreExtension::include($this->env, $context, "content/spnsoren/view.html.twig");
yield "
";
// line 122
yield from $this->unwrap()->yieldBlock('sidebar', $context, $blocks);
// line 123
yield " </aside>
</div>
";
// line 127
yield " <footer class=\"row\">
<div class=\"col-12\">
";
// line 129
yield $this->env->getFunction('pimcore_inc')->getCallable()("/Meta/footer");
yield "
</div>
</footer>
</div>
</div>
</div>
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Mensa Fasching";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 114
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 122
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_sidebar(array $context, array $blocks = []): iterable
{
$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", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "layout/base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 384 => 122, 362 => 114, 339 => 6, 317 => 129, 313 => 127, 308 => 123, 306 => 122, 301 => 120, 297 => 118, 293 => 115, 290 => 114, 285 => 110, 282 => 109, 268 => 108, 262 => 105, 259 => 104, 252 => 100, 248 => 99, 245 => 98, 242 => 97, 239 => 96, 221 => 95, 218 => 94, 215 => 93, 212 => 92, 209 => 91, 206 => 90, 204 => 89, 200 => 87, 197 => 85, 193 => 82, 185 => 75, 170 => 72, 167 => 71, 163 => 70, 152 => 61, 137 => 47, 132 => 43, 126 => 39, 121 => 36, 114 => 30, 111 => 28, 109 => 27, 106 => 26, 103 => 25, 100 => 24, 98 => 23, 95 => 22, 92 => 21, 89 => 20, 86 => 19, 84 => 18, 73 => 10, 69 => 9, 65 => 8, 60 => 6, 53 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"de\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<title>{% block title %}Mensa Fasching{% endblock %}</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/bootstrap.css?{{ md5_file('/static/css/bootstrap.css') }}\"/>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/styles.css?{{ md5_file('/static/css/styles.css') }}\"/>
<script src=\"/static/js/app.js?{{ md5_file('/static/js/app.js') }}\" type=\"text/javascript\"></script>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"icon\" type=\"image/vnd.icon\" href=\"/var/assets/Layout/Logo.png\">
<meta name=\"robots\" content=\"index\"/>
<meta name=\"description\" content=\"Faschingskomitee der Bauhaus Universität Weimar e.V.\"/>
</head>
<body data-bs-theme=\"light\">
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% set navStartNode = document.getProperty('navigation_root') %}
{% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
{% set navStartNode = pimcore_document(1) %}
{% endif %}
{% set mainNavigation = app_navigation_main(document, navStartNode) %}
{# Mobile Navigation Toggle Button #}
<button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"container-fluid\">
{# Fixierter Header #}
<header class=\"row py-3\">
<div class=\"col-12 d-flex justify-content-between align-items-center\">
<a href=\"/\" class=\"\">
{{ pimcore_asset_by_path('/Layout/Logo.png').thumbnail('default').html({'imgAttributes': { 'id': 'logo' }})|raw }}
</a>
<div class=\"d-flex align-items-center gap-2\">
{# Mobile Navigation Toggle Button #}
<button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
{# Contrast Mode Toggle Button #}
<button class=\"btn btn-contrast\" type=\"button\" aria-label=\"Toggle theme\" data-bs-toggle=\"theme\">
<svg class=\"icon-light\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"/>
</svg>
<svg class=\"icon-dark\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
<path d=\"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"/>
</svg>
</button>
</div>
</div>
</header>
<div class=\"row\">
{# Fixierte linke Navigation #}
<div class=\"col-md-2\">
<div class=\"nav-wrapper\">
<nav class=\"py-4 bg-light offcanvas-md offcanvas-start\" tabindex=\"-1\" id=\"mainNavigation\" aria-labelledby=\"mainNavigationLabel\">
<div class=\"offcanvas-header d-md-none\">
<h5 class=\"offcanvas-title\" id=\"mainNavigationLabel\">Menü</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body p-0\">
<ul class=\"nav flex-column\">
{% for page in mainNavigation %}
<li class=\"nav-item\">
<a class=\"nav-link {% if page.active %}active{% endif %}\" href=\"{{ page.href }}\">{{ page.label }}</a>
</li>
{% endfor %}
</ul>
</div>
</nav>
</div>
</div>
{# Scrollbarer Content-Bereich #}
<div class=\"content-wrapper\">
<div class=\"row flex-grow-1\">
{# Hauptinhalt mit Breadcrumb #}
<main class=\"col-md-8 py-4\">
{# Breadcrumb Navigation #}
<nav aria-label=\"breadcrumb\" class=\"mb-4\">
<ol class=\"breadcrumb\">
{% set mainNavStartNode = document.getProperty('navigation_root') %}
{% if mainNavStartNode is empty %}
{% set mainNavStartNode = pimcore_document(1) %}
{% endif %}
{% if mainNavStartNode.id != document.id or document.key == 'exceptionPage_1678441938013' %}
{% set breadcrumbs = app_navigation_breadcrumbs(document, mainNavStartNode) %}
{% for breadcrumb in breadcrumbs %}
{% if not loop.last %}
{% set label = breadcrumb.label|length > 50 ? breadcrumb.label|slice(0, 50) ~ '…' : breadcrumb.label %}
<li class=\"breadcrumb-item\">
<a href=\"{{ breadcrumb.url }}\" class=\"text-decoration-none\">
{{ label }}
</a>
</li>
{% else %}
<li class=\"breadcrumb-item active\" aria-current=\"page\">
{{ breadcrumb.label }}
</li>
{% endif %}
{% endfor %}
{% endif %}
</ol>
</nav>
{# Seiteninhalt #}
{% block content %}{% endblock %}
</main>
{# Schmale rechte Spalte #}
<aside class=\"col-md-4 py-4\">
<h2>Sponsoren</h2>
{{ include('content/spnsoren/view.html.twig') }}
{% block sidebar %}{% endblock %}
</aside>
</div>
{# Footer #}
<footer class=\"row\">
<div class=\"col-12\">
{{ pimcore_inc('/Meta/footer') }}
</div>
</footer>
</div>
</div>
</div>
</body>
</html>
", "layout/base.html.twig", "/var/www/vhosts/mensa-fasching.de/uat/releases/20250218080531/templates/layout/base.html.twig");
}
public function checkSecurity()
{
static $tags = ["block" => 6, "if" => 18, "set" => 19, "for" => 70];
static $filters = ["escape" => 8, "raw" => 39, "length" => 97, "slice" => 97];
static $functions = ["md5_file" => 8, "pimcore_document" => 19, "app_navigation_main" => 27, "pimcore_asset_by_path" => 39, "app_navigation_breadcrumbs" => 94, "include" => 120, "pimcore_inc" => 129];
try {
$this->sandbox->checkSecurity(
['block', 'if', 'set', 'for'],
['escape', 'raw', 'length', 'slice'],
['md5_file', 'pimcore_document', 'app_navigation_main', 'pimcore_asset_by_path', 'app_navigation_breadcrumbs', 'include', 'pimcore_inc'],
$this->source
);
} 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;
}
}
}