<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
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;
/* @PixelLexikonSW6/storefront/base.html.twig */
class __TwigTemplate_4a36ea2118c573dbeb671e5dedda767f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_head' => [$this, 'block_base_head'],
'base_main_container' => [$this, 'block_base_main_container'],
'base_breadcrumb' => [$this, 'block_base_breadcrumb'],
'base_content' => [$this, 'block_base_content'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@NetiNextModal/storefront/base.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", "@PixelLexikonSW6/storefront/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", "@PixelLexikonSW6/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@NetiNextModal/storefront/base.html.twig", "@PixelLexikonSW6/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_base_head($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", "base_head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_head"));
// line 5
echo "
";
// line 6
if (($context["pixelLexikon"] ?? null)) {
// line 7
echo "
";
// line 8
if ((sw_get_attribute($this->env, $this->source, ($context["pixelLexikon"] ?? null), "page", [], "any", false, false, false, 8) == "index")) {
// line 9
echo " ";
$this->loadTemplate("@PixelLexikonSW6/storefront/pixel-lexikon/meta/meta.html.twig", "@PixelLexikonSW6/storefront/base.html.twig", 9)->display(twig_array_merge($context, ["lexikonpage" => "index", "pixelLexikon" => ($context["pixelLexikon"] ?? null), "metaData" => ($context["pixelLexikon"] ?? null), "metaUrl" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.lexikon.index")]));
// line 10
echo " ";
}
// line 11
echo "
";
// line 12
if ((sw_get_attribute($this->env, $this->source, ($context["pixelLexikon"] ?? null), "page", [], "any", false, false, false, 12) == "listing")) {
// line 13
echo "
";
// line 14
$this->loadTemplate("@PixelLexikonSW6/storefront/pixel-lexikon/meta/meta.html.twig", "@PixelLexikonSW6/storefront/base.html.twig", 14)->display(twig_array_merge($context, ["lexikonpage" => "listing", "pixelLexikon" => ($context["pixelLexikon"] ?? null), "metaData" => sw_get_attribute($this->env, $this->source, ($context["pixelLexikon"] ?? null), "Category", [], "any", false, false, false, 14), "metaUrl" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.lexikon.listing", ["categoryId" => sw_get_attribute($this->env, $this->source, ($context["pixelLexikon"] ?? null), "categoryId", [], "any", false, false, false, 14)])]));
// line 15
echo " ";
}
// line 16
echo "
";
// line 17
if ((sw_get_attribute($this->env, $this->source, ($context["pixelLexikon"] ?? null), "page", [], "any", false, false, false, 17) == "detail")) {
// line 18
echo "
";
// line 19
$this->loadTemplate("@PixelLexikonSW6/storefront/pixel-lexikon/meta/meta.html.twig", "@PixelLexikonSW6/storefront/base.html.twig", 19)->display(twig_array_merge($context, ["lexikonpage" => "index", "pixelLexikon" => ($context["pixelLexikon"] ?? null), "metaData" => sw_get_attribute($this->env, $this->source, ($context["pixelLexikon"] ?? null), "entry", [], "any", false, false, false, 19), "metaUrl" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.lexikon.detail", ["id" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["pixelLexikon"] ?? null), "entry", [], "any", false, false, false, 19), "id", [], "any", false, false, false, 19)])]));
// line 20
echo " ";
}
// line 21
echo "
";
} else {
// line 23
echo " ";
$this->displayParentBlock("base_head", $context, $blocks);
echo "
";
}
// line 25
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 29
public function block_base_main_container($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", "base_main_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main_container"));
// line 30
echo " ";
if (($context["pixelLexikon"] ?? null)) {
// line 31
echo "
<div class=\"container-main\">
";
// line 33
$this->displayBlock('base_breadcrumb', $context, $blocks);
// line 38
echo "
";
// line 39
$this->displayBlock('base_content', $context, $blocks);
// line 40
echo " </div>
";
} else {
// line 43
echo " ";
$this->displayParentBlock("base_main_container", $context, $blocks);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 33
public function block_base_breadcrumb($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", "base_breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_breadcrumb"));
// line 34
echo " ";
if (($context["breadcrumbList"] ?? null)) {
// line 35
echo " ";
$this->loadTemplate("@PixelLexikonSW6/storefront/pixel-lexikon/page/basics/breadcrumb.html.twig", "@PixelLexikonSW6/storefront/base.html.twig", 35)->display($context);
// line 36
echo " ";
}
// line 37
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 39
public function block_base_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", "base_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_content"));
$this->loadTemplate("@PixelLexikonSW6/storefront/pixel-lexikon/page/base.html.twig", "@PixelLexikonSW6/storefront/base.html.twig", 39)->display($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@PixelLexikonSW6/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 206 => 39, 196 => 37, 193 => 36, 190 => 35, 187 => 34, 177 => 33, 163 => 43, 158 => 40, 156 => 39, 153 => 38, 151 => 33, 147 => 31, 144 => 30, 134 => 29, 123 => 25, 117 => 23, 113 => 21, 110 => 20, 108 => 19, 105 => 18, 103 => 17, 100 => 16, 97 => 15, 95 => 14, 92 => 13, 90 => 12, 87 => 11, 84 => 10, 81 => 9, 79 => 8, 76 => 7, 74 => 6, 71 => 5, 61 => 4, 38 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_head %}
{% if pixelLexikon %}
{% if pixelLexikon.page == \"index\" %}
{% sw_include '@Storefront/storefront/pixel-lexikon/meta/meta.html.twig' with { 'lexikonpage' : 'index', 'pixelLexikon': pixelLexikon, 'metaData': pixelLexikon, 'metaUrl': seoUrl('frontend.lexikon.index')} %}
{% endif %}
{% if pixelLexikon.page == \"listing\" %}
{% sw_include '@Storefront/storefront/pixel-lexikon/meta/meta.html.twig' with {'lexikonpage' : 'listing', 'pixelLexikon': pixelLexikon, 'metaData': pixelLexikon.Category, 'metaUrl': seoUrl('frontend.lexikon.listing', { categoryId: pixelLexikon.categoryId })} %}
{% endif %}
{% if pixelLexikon.page == \"detail\" %}
{% sw_include '@Storefront/storefront/pixel-lexikon/meta/meta.html.twig' with {'lexikonpage' : 'index', 'pixelLexikon': pixelLexikon, 'metaData': pixelLexikon.entry , 'metaUrl': seoUrl('frontend.lexikon.detail', { id: pixelLexikon.entry.id })} %}
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block base_main_container %}
{% if pixelLexikon %}
<div class=\"container-main\">
{% block base_breadcrumb %}
{% if breadcrumbList %}
{% sw_include '@Storefront/storefront/pixel-lexikon/page/basics/breadcrumb.html.twig' %}
{% endif %}
{% endblock %}
{% block base_content %}{% sw_include '@Storefront/storefront/pixel-lexikon/page/base.html.twig' %}{% endblock %}
</div>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
", "@PixelLexikonSW6/storefront/base.html.twig", "/var/customers/webs/kew/htdocs6/custom/plugins/PixelLexikonSW6/src/Resources/views/storefront/base.html.twig");
}
}