var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/91/9126f3af22c8645aa24939c633eff38a62415731837d343e0165de11ba8d3722.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @PixelLexikonSW6/storefront/base.html.twig */
  16. class __TwigTemplate_4a36ea2118c573dbeb671e5dedda767f extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'base_head' => [$this'block_base_head'],
  26.             'base_main_container' => [$this'block_base_main_container'],
  27.             'base_breadcrumb' => [$this'block_base_breadcrumb'],
  28.             'base_content' => [$this'block_base_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@NetiNextModal/storefront/base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PixelLexikonSW6/storefront/base.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PixelLexikonSW6/storefront/base.html.twig"));
  43.         $this->parent $this->loadTemplate("@NetiNextModal/storefront/base.html.twig""@PixelLexikonSW6/storefront/base.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 4
  51.     public function block_base_head($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  58.         // line 5
  59.         echo "
  60.     ";
  61.         // line 6
  62.         if (($context["pixelLexikon"] ?? null)) {
  63.             // line 7
  64.             echo "
  65.     ";
  66.             // line 8
  67.             if ((sw_get_attribute($this->env$this->source, ($context["pixelLexikon"] ?? null), "page", [], "any"falsefalsefalse8) == "index")) {
  68.                 // line 9
  69.                 echo "        ";
  70.                 $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")]));
  71.                 // line 10
  72.                 echo "    ";
  73.             }
  74.             // line 11
  75.             echo "
  76.     ";
  77.             // line 12
  78.             if ((sw_get_attribute($this->env$this->source, ($context["pixelLexikon"] ?? null), "page", [], "any"falsefalsefalse12) == "listing")) {
  79.                 // line 13
  80.                 echo "
  81.         ";
  82.                 // line 14
  83.                 $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"falsefalsefalse14), "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"falsefalsefalse14)])]));
  84.                 // line 15
  85.                 echo "    ";
  86.             }
  87.             // line 16
  88.             echo "
  89.     ";
  90.             // line 17
  91.             if ((sw_get_attribute($this->env$this->source, ($context["pixelLexikon"] ?? null), "page", [], "any"falsefalsefalse17) == "detail")) {
  92.                 // line 18
  93.                 echo "
  94.         ";
  95.                 // line 19
  96.                 $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"falsefalsefalse19), "metaUrl" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.lexikon.detail", ["id" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["pixelLexikon"] ?? null), "entry", [], "any"falsefalsefalse19), "id", [], "any"falsefalsefalse19)])]));
  97.                 // line 20
  98.                 echo "    ";
  99.             }
  100.             // line 21
  101.             echo "
  102.     ";
  103.         } else {
  104.             // line 23
  105.             echo "        ";
  106.             $this->displayParentBlock("base_head"$context$blocks);
  107.             echo "
  108.     ";
  109.         }
  110.         // line 25
  111.         echo "
  112. ";
  113.         
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  115.         
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  117.     }
  118.     // line 29
  119.     public function block_base_main_container($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_container"));
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_container"));
  126.         // line 30
  127.         echo "    ";
  128.         if (($context["pixelLexikon"] ?? null)) {
  129.             // line 31
  130.             echo "
  131.         <div class=\"container-main\">
  132.             ";
  133.             // line 33
  134.             $this->displayBlock('base_breadcrumb'$context$blocks);
  135.             // line 38
  136.             echo "
  137.             ";
  138.             // line 39
  139.             $this->displayBlock('base_content'$context$blocks);
  140.             // line 40
  141.             echo "        </div>
  142.     ";
  143.         } else {
  144.             // line 43
  145.             echo "        ";
  146.             $this->displayParentBlock("base_main_container"$context$blocks);
  147.             echo "
  148.     ";
  149.         }
  150.         
  151.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  152.         
  153.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  154.     }
  155.     // line 33
  156.     public function block_base_breadcrumb($context, array $blocks = [])
  157.     {
  158.         $macros $this->macros;
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_breadcrumb"));
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_breadcrumb"));
  163.         // line 34
  164.         echo "                ";
  165.         if (($context["breadcrumbList"] ?? null)) {
  166.             // line 35
  167.             echo "                    ";
  168.             $this->loadTemplate("@PixelLexikonSW6/storefront/pixel-lexikon/page/basics/breadcrumb.html.twig""@PixelLexikonSW6/storefront/base.html.twig"35)->display($context);
  169.             // line 36
  170.             echo "                ";
  171.         }
  172.         // line 37
  173.         echo "            ";
  174.         
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  176.         
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  178.     }
  179.     // line 39
  180.     public function block_base_content($context, array $blocks = [])
  181.     {
  182.         $macros $this->macros;
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  187.         $this->loadTemplate("@PixelLexikonSW6/storefront/pixel-lexikon/page/base.html.twig""@PixelLexikonSW6/storefront/base.html.twig"39)->display($context);
  188.         
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  190.         
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  192.     }
  193.     public function getTemplateName()
  194.     {
  195.         return "@PixelLexikonSW6/storefront/base.html.twig";
  196.     }
  197.     public function isTraitable()
  198.     {
  199.         return false;
  200.     }
  201.     public function getDebugInfo()
  202.     {
  203.         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,);
  204.     }
  205.     public function getSourceContext()
  206.     {
  207.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  208. {% block base_head %}
  209.     {% if pixelLexikon %}
  210.     {% if pixelLexikon.page == \"index\" %}
  211.         {% sw_include '@Storefront/storefront/pixel-lexikon/meta/meta.html.twig' with { 'lexikonpage' : 'index', 'pixelLexikon': pixelLexikon, 'metaData': pixelLexikon, 'metaUrl': seoUrl('frontend.lexikon.index')} %}
  212.     {% endif %}
  213.     {% if pixelLexikon.page == \"listing\" %}
  214.         {% 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 })} %}
  215.     {% endif %}
  216.     {% if pixelLexikon.page == \"detail\" %}
  217.         {% 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 })} %}
  218.     {% endif %}
  219.     {% else %}
  220.         {{ parent() }}
  221.     {% endif %}
  222. {% endblock %}
  223. {% block base_main_container %}
  224.     {% if pixelLexikon %}
  225.         <div class=\"container-main\">
  226.             {% block base_breadcrumb %}
  227.                 {% if breadcrumbList %}
  228.                     {% sw_include '@Storefront/storefront/pixel-lexikon/page/basics/breadcrumb.html.twig' %}
  229.                 {% endif %}
  230.             {% endblock %}
  231.             {% block base_content %}{% sw_include '@Storefront/storefront/pixel-lexikon/page/base.html.twig' %}{% endblock %}
  232.         </div>
  233.     {% else %}
  234.         {{ parent() }}
  235.     {% endif %}
  236. {% endblock %}
  237. ""@PixelLexikonSW6/storefront/base.html.twig""/var/customers/webs/kew/htdocs6/custom/plugins/PixelLexikonSW6/src/Resources/views/storefront/base.html.twig");
  238.     }
  239. }