var/cache/dev_hb199fda60d64cb4aeee9e3d553e0f6c1/twig/d2/d20cd1d66aecfeb2232d6669621a672286b1b0908c7e818fc9fb4aab48ed210f.php line 42

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Storefront/storefront/page/content/index.html.twig */
  14. class __TwigTemplate_0f448de55a4f42aa389b5d343997d17a extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'base_main_inner' => [$this'block_base_main_inner'],
  24.             'page_content' => [$this'block_page_content'],
  25.             'cms_breadcrumb' => [$this'block_cms_breadcrumb'],
  26.             'cms_content' => [$this'block_cms_content'],
  27.             'page_content_blocks' => [$this'block_page_content_blocks'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@HBCTheme/storefront/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/content/index.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/content/index.html.twig"));
  42.         // line 0
  43.         echo "<!-- INCLUDE BEGIN @Storefront/storefront/page/content/index.html.twig (vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig) -->";
  44.         echo "<!-- INCLUDE END @Storefront/storefront/page/content/index.html.twig -->";
  45.         // line 2
  46.         $this->parent $this->loadTemplate("@HBCTheme/storefront/base.html.twig""@Storefront/storefront/page/content/index.html.twig"2);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 4
  54.     public function block_base_main_inner($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  59.         // line 0
  60.         echo "<!-- BLOCK BEGIN base_main_inner (vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig) -->";
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  63.         // line 5
  64.         echo "    <div class=\"container-main\">
  65.         ";
  66.         // line 6
  67.         $this->displayBlock('page_content'$context$blocks);
  68.         // line 33
  69.         echo "    </div>
  70. ";
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         // line 0
  74.         echo "<!-- BLOCK END base_main_inner -->";
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     // line 6
  79.     public function block_page_content($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  84.         // line 0
  85.         echo "<!-- BLOCK BEGIN page_content (vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig) -->";
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  88.         // line 7
  89.         echo "            ";
  90.         $this->displayBlock('cms_breadcrumb'$context$blocks);
  91.         // line 15
  92.         echo "
  93.             ";
  94.         // line 16
  95.         $this->displayBlock('cms_content'$context$blocks);
  96.         // line 32
  97.         echo "        ";
  98.         
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  100.         // line 0
  101.         echo "<!-- BLOCK END page_content -->";
  102.         
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  104.     }
  105.     // line 7
  106.     public function block_cms_breadcrumb($context, array $blocks = [])
  107.     {
  108.         $macros $this->macros;
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  111.         // line 0
  112.         echo "<!-- BLOCK BEGIN cms_breadcrumb (vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig) -->";
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  115.         // line 8
  116.         echo "                <div class=\"breadcrumb cms-breadcrumb container\">
  117.                     ";
  118.         // line 9
  119.         $this->loadTemplate("@Storefront/storefront/layout/breadcrumb.html.twig""@Storefront/storefront/page/content/index.html.twig"9)->display(twig_to_array(["context" =>         // line 10
  120. ($context["context"] ?? null), "category" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 11
  121. ($context["page"] ?? null), "header", [], "any"falsefalsefalse11), "navigation", [], "any"falsefalsefalse11), "active", [], "any"falsefalsefalse11)]));
  122.         // line 13
  123.         echo "                </div>
  124.             ";
  125.         
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  127.         // line 0
  128.         echo "<!-- BLOCK END cms_breadcrumb -->";
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.     }
  132.     // line 16
  133.     public function block_cms_content($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  138.         // line 0
  139.         echo "<!-- BLOCK BEGIN cms_content (vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig) -->";
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  142.         // line 17
  143.         echo "                ";
  144.         // line 18
  145.         echo "                ";
  146.         if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
  147.             // line 19
  148.             echo "                    ";
  149.             $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse19), "cmsPage", [], "any"falsefalsefalse19), "cssClass", [], "any"falsefalsefalse19))));
  150.             // line 20
  151.             echo "                    ";
  152.             $context["cmsPage"] = ((twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse20)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse20), "cmsPage", [], "any"falsefalsefalse20)) : (twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse20)));
  153.             // line 21
  154.             echo "                ";
  155.         } else {
  156.             // line 22
  157.             echo "                    ";
  158.             $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse22), "cssClass", [], "any"falsefalsefalse22))));
  159.             // line 23
  160.             echo "                    ";
  161.             $context["cmsPage"] = twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse23);
  162.             // line 24
  163.             echo "                ";
  164.         }
  165.         // line 25
  166.         echo "                ";
  167.         $context["landingPage"] = ((twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse25)) ? (twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse25)) : ([]));
  168.         // line 26
  169.         echo "                <div class=\"";
  170.         echo twig_escape_filter($this->env, ($context["cmsPageClasses"] ?? null), "html"nulltrue);
  171.         echo "\">
  172.                     ";
  173.         // line 27
  174.         $this->displayBlock('page_content_blocks'$context$blocks);
  175.         // line 30
  176.         echo "                </div>
  177.             ";
  178.         
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  180.         // line 0
  181.         echo "<!-- BLOCK END cms_content -->";
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.     }
  185.     // line 27
  186.     public function block_page_content_blocks($context, array $blocks = [])
  187.     {
  188.         $macros $this->macros;
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  191.         // line 0
  192.         echo "<!-- BLOCK BEGIN page_content_blocks (vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig) -->";
  193.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  194.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  195.         // line 28
  196.         echo "                        ";
  197.         $this->loadTemplate("@Storefront/storefront/page/content/detail.html.twig""@Storefront/storefront/page/content/index.html.twig"28)->display(twig_array_merge($context, ["cmsPage" => ($context["cmsPage"] ?? null), "landingPage" => ($context["landingPage"] ?? null)]));
  198.         // line 29
  199.         echo "                    ";
  200.         
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  202.         // line 0
  203.         echo "<!-- BLOCK END page_content_blocks -->";
  204.         
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  206.     }
  207.     public function getTemplateName()
  208.     {
  209.         return "@Storefront/storefront/page/content/index.html.twig";
  210.     }
  211.     public function isTraitable()
  212.     {
  213.         return false;
  214.     }
  215.     public function getDebugInfo()
  216.     {
  217.         return array (  238 => 0,  233 => 29,  230 => 28,  225 => 0,  218 => 27,  211 => 0,  205 => 30,  203 => 27,  198 => 26,  195 => 25,  192 => 24,  189 => 23,  186 => 22,  183 => 21,  180 => 20,  177 => 19,  174 => 18,  172 => 17,  167 => 0,  160 => 16,  153 => 0,  147 => 13,  145 => 11,  144 => 10,  143 => 9,  140 => 8,  135 => 0,  128 => 7,  121 => 0,  116 => 32,  114 => 16,  111 => 15,  108 => 7,  103 => 0,  96 => 6,  89 => 0,  83 => 33,  81 => 6,  78 => 5,  73 => 0,  66 => 4,  55 => 2,  52 => 0,  39 => 2,);
  218.     }
  219.     public function getSourceContext()
  220.     {
  221.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  222. {# @var page \\Shopware\\Storefront\\Page\\LandingPage\\LandingPage|\\Shopware\\Storefront\\Page\\CategoryPage\\CategoryPage #}
  223. {% block base_main_inner %}
  224.     <div class=\"container-main\">
  225.         {% block page_content %}
  226.             {% block cms_breadcrumb %}
  227.                 <div class=\"breadcrumb cms-breadcrumb container\">
  228.                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  229.                         context: context,
  230.                         category: page.header.navigation.active
  231.                     } only %}
  232.                 </div>
  233.             {% endblock %}
  234.             {% block cms_content %}
  235.                 {# @deprecated tag:v6.5.0 - keep if branch - page.cmsPage will be removed. Use page.landingPage.cmsPage instead #}
  236.                 {% if feature('v6.5.0.0') %}
  237.                     {% set cmsPageClasses = ('cms-page ' ~ page.landingPage.cmsPage.cssClass|striptags)|trim %}
  238.                     {% set cmsPage = page.landingPage ? page.landingPage.cmsPage : page.cmsPage %}
  239.                 {% else %}
  240.                     {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  241.                     {% set cmsPage = page.cmsPage %}
  242.                 {% endif %}
  243.                 {% set landingPage = page.landingPage ? page.landingPage : {} %}
  244.                 <div class=\"{{ cmsPageClasses }}\">
  245.                     {% block page_content_blocks %}
  246.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': cmsPage, 'landingPage': landingPage} %}
  247.                     {% endblock %}
  248.                 </div>
  249.             {% endblock %}
  250.         {% endblock %}
  251.     </div>
  252. {% endblock %}
  253. ""@Storefront/storefront/page/content/index.html.twig""/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig");
  254.     }
  255. }