var/cache/dev_h41800f5fdfafa409ea382bf45d0f7c63/twig/d4/d43e9ad31a8df3a99a3642765be98740605cb5a51fefea53e6a3acb4efa05306.php line 46

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. /* @Tuerschild_2/storefront/page/content/index.html.twig */
  16. class __TwigTemplate_9c3c6c246078dd838534929f50c99e1930a84e406371b17524c5f98bfd72bbda 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_main_inner' => [$this'block_base_main_inner'],
  26.             'page_content' => [$this'block_page_content'],
  27.             'cms_breadcrumb' => [$this'block_cms_breadcrumb'],
  28.             'cms_category_headline' => [$this'block_cms_category_headline'],
  29.             'cms_category_description' => [$this'block_cms_category_description'],
  30.             'cms_content' => [$this'block_cms_content'],
  31.             'page_content_blocks' => [$this'block_page_content_blocks'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 2
  37.         return "@Tuerschild_2/storefront/base.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Tuerschild_2/storefront/page/content/index.html.twig"));
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Tuerschild_2/storefront/page/content/index.html.twig"));
  46.         $this->parent $this->loadTemplate("@Tuerschild_2/storefront/base.html.twig""@Tuerschild_2/storefront/page/content/index.html.twig"2);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 4
  54.     public function block_base_main_inner($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  61.         // line 5
  62.         echo "    <div class=\"container-main\">
  63.         ";
  64.         // line 6
  65.         $this->displayBlock('page_content'$context$blocks);
  66.         // line 82
  67.         echo "    </div>
  68. ";
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.     }
  74.     // line 6
  75.     public function block_page_content($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  82.         // line 7
  83.         echo "            ";
  84.         $this->displayBlock('cms_breadcrumb'$context$blocks);
  85.         // line 17
  86.         echo "
  87.             ";
  88.         // line 19
  89.         $this->displayBlock('cms_category_headline'$context$blocks);
  90.         // line 29
  91.         echo "
  92.             ";
  93.         // line 30
  94.         $this->displayBlock('cms_category_description'$context$blocks);
  95.         // line 73
  96.         echo "
  97.             ";
  98.         // line 74
  99.         $this->displayBlock('cms_content'$context$blocks);
  100.         // line 81
  101.         echo "        ";
  102.         
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  104.         
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  106.     }
  107.     // line 7
  108.     public function block_cms_breadcrumb($context, array $blocks = [])
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  115.         // line 8
  116.         echo "                ";
  117.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse8), "navigation", [], "any"falsefalsefalse8), "active", [], "any"falsefalsefalse8), "level", [], "any"falsefalsefalse8), 2))) {
  118.             // line 9
  119.             echo "                    <div class=\"breadcrumb cms-breadcrumb container\">
  120.                         ";
  121.             // line 10
  122.             $this->loadTemplate("@Tuerschild_2/storefront/layout/breadcrumb.html.twig""@Tuerschild_2/storefront/page/content/index.html.twig"10)->display(twig_to_array(["context" =>             // line 11
  123. ($context["context"] ?? null), "category" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 12
  124. ($context["page"] ?? null), "header", [], "any"falsefalsefalse12), "navigation", [], "any"falsefalsefalse12), "active", [], "any"falsefalsefalse12)]));
  125.             // line 14
  126.             echo "                    </div>
  127.                 ";
  128.         }
  129.         // line 16
  130.         echo "            ";
  131.         
  132.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  133.         
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  135.     }
  136.     // line 19
  137.     public function block_cms_category_headline($context, array $blocks = [])
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_headline"));
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_headline"));
  144.         // line 20
  145.         echo "                ";
  146.         $context["description"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse20), "navigation", [], "any"falsefalsefalse20), "active", [], "any"falsefalsefalse20), "customFields", [], "any"falsefalsefalse20), "custom_category_info_description", [], "any"falsefalsefalse20);
  147.         // line 21
  148.         echo "
  149.                 ";
  150.         // line 22
  151.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse22), "navigation", [], "any"falsefalsefalse22), "active", [], "any"falsefalsefalse22), "level", [], "any"falsefalsefalse22), 2))) {
  152.             // line 23
  153.             echo "                    <div class=\"container mb-4\">
  154.                         <h1 class=\"category-headline\">";
  155.             // line 24
  156.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse24), "navigation", [], "any"falsefalsefalse24), "active", [], "any"falsefalsefalse24), "name", [], "any"falsefalsefalse24), "html"nulltrue);
  157.             echo "</h1>
  158. ";
  159.             // line 26
  160.             echo "                    </div>
  161.                 ";
  162.         }
  163.         // line 28
  164.         echo "            ";
  165.         
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  167.         
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  169.     }
  170.     // line 30
  171.     public function block_cms_category_description($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_description"));
  176.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_description"));
  178.         // line 31
  179.         echo "                ";
  180.         $context["description"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse31), "navigation", [], "any"falsefalsefalse31), "active", [], "any"falsefalsefalse31), "customFields", [], "any"falsefalsefalse31), "custom_category_info_description", [], "any"falsefalsefalse31);
  181.         // line 32
  182.         echo "
  183.                 ";
  184.         // line 33
  185.         $context["imgMediaId"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse33), "navigation", [], "any"falsefalsefalse33), "active", [], "any"falsefalsefalse33), "customFields", [], "any"falsefalsefalse33), "custom_category_info_image", [], "any"falsefalsefalse33);
  186.         // line 34
  187.         echo "                ";
  188.         $context["iconMediaId"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse34), "navigation", [], "any"falsefalsefalse34), "active", [], "any"falsefalsefalse34), "customFields", [], "any"falsefalsefalse34), "custom_category_info_icon", [], "any"falsefalsefalse34);
  189.         // line 35
  190.         echo "
  191.                 ";
  192.         // line 36
  193.         $context["attribute_1"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse36), "navigation", [], "any"falsefalsefalse36), "active", [], "any"falsefalsefalse36), "customFields", [], "any"falsefalsefalse36), "custom_category_info_attribute_1", [], "any"falsefalsefalse36);
  194.         // line 37
  195.         echo "                ";
  196.         $context["attribute_2"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse37), "navigation", [], "any"falsefalsefalse37), "active", [], "any"falsefalsefalse37), "customFields", [], "any"falsefalsefalse37), "custom_category_info_attribute_2", [], "any"falsefalsefalse37);
  197.         // line 38
  198.         echo "
  199.                 ";
  200.         // line 43
  201.         if (($context["imgMediaId"] ?? null)) {
  202.             // line 44
  203.             echo "                    ";
  204.             $context["media"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> ($context["imgMediaId"] ?? null)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse44));
  205.             // line 45
  206.             echo "                    ";
  207.             $context["img"] = sw_get_attribute($this->env$this->source, ($context["media"] ?? null), "get", [=> ($context["imgMediaId"] ?? null)], "method"falsefalsefalse45);
  208.             // line 46
  209.             echo "
  210.                     ";
  211.             // line 47
  212.             if (($context["iconMediaId"] ?? null)) {
  213.                 // line 48
  214.                 echo "                        ";
  215.                 $context["mediaIcon"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> ($context["iconMediaId"] ?? null)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse48));
  216.                 // line 49
  217.                 echo "                        ";
  218.                 $context["icon"] = twig_first($this->envsw_get_attribute($this->env$this->source, ($context["mediaIcon"] ?? null), "elements", [], "any"falsefalsefalse49));
  219.                 // line 50
  220.                 echo "                    ";
  221.             }
  222.             // line 51
  223.             echo "
  224.                     <div class=\"category-description-container cms-block-text-on-image\">
  225.                         <div class=\"cms-block bg-image\">
  226.                             <img src=\"";
  227.             // line 54
  228.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["img"] ?? null), "url", [], "any"falsefalsefalse54), "html"nulltrue);
  229.             echo "\" class=\"cms-block-background media-mode--cover\">
  230.                             <div class=\"cms-block-container\">
  231.                                 <div class=\"category-description-wrapper d-flex flex-sm-column-reverse col-12 p-0\">
  232.                                     <div class=\"d-flex flex-column flex-sm-row justify-content-between\">
  233.                                         <span class=\"d-flex flex-column-reverse category-description\">";
  234.             // line 58
  235.             echo twig_striptags(($context["description"] ?? null));
  236.             echo "</span>
  237.                                         <div class=\"d-flex\">
  238.                                             ";
  239.             // line 60
  240.             if (($context["iconMediaId"] ?? null)) {
  241.                 echo " <img class=\"category-icon\" src=\"";
  242.                 echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["icon"] ?? null), "url", [], "any"falsefalsefalse60), "html"nulltrue);
  243.                 echo "\">";
  244.             }
  245.             // line 61
  246.             echo "                                            <div class=\"category-description-attributes d-flex flex-column justify-content-end\">
  247.                                                 <span class=\"attr attr-1\">";
  248.             // line 62
  249.             echo sw_escape_filter($this->env, ($context["attribute_1"] ?? null), "html"nulltrue);
  250.             echo "</span>
  251.                                                 <span class=\"attr attr-2\">";
  252.             // line 63
  253.             echo sw_escape_filter($this->env, ($context["attribute_2"] ?? null), "html"nulltrue);
  254.             echo "</span>
  255.                                             </div>
  256.                                         </div>
  257.                                     </div>
  258.                                 </div>
  259.                             </div>
  260.                         </div>
  261.                     </div>
  262.                 ";
  263.         }
  264.         // line 72
  265.         echo "            ";
  266.         
  267.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  268.         
  269.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  270.     }
  271.     // line 74
  272.     public function block_cms_content($context, array $blocks = [])
  273.     {
  274.         $macros $this->macros;
  275.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  276.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  277.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  278.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  279.         // line 75
  280.         echo "                <div class=\"cms-page\">
  281.                     ";
  282.         // line 76
  283.         $this->displayBlock('page_content_blocks'$context$blocks);
  284.         // line 79
  285.         echo "                </div>
  286.             ";
  287.         
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  289.         
  290.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  291.     }
  292.     // line 76
  293.     public function block_page_content_blocks($context, array $blocks = [])
  294.     {
  295.         $macros $this->macros;
  296.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  300.         // line 77
  301.         echo "                        ";
  302.         $this->loadTemplate("@Tuerschild_2/storefront/page/content/detail.html.twig""@Tuerschild_2/storefront/page/content/index.html.twig"77)->display(twig_array_merge($context, ["cmsPage" => sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse77)]));
  303.         // line 78
  304.         echo "                    ";
  305.         
  306.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  307.         
  308.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  309.     }
  310.     public function getTemplateName()
  311.     {
  312.         return "@Tuerschild_2/storefront/page/content/index.html.twig";
  313.     }
  314.     public function isTraitable()
  315.     {
  316.         return false;
  317.     }
  318.     public function getDebugInfo()
  319.     {
  320.         return array (  351 => 78,  348 => 77,  338 => 76,  327 => 79,  325 => 76,  322 => 75,  312 => 74,  302 => 72,  290 => 63,  286 => 62,  283 => 61,  277 => 60,  272 => 58,  265 => 54,  260 => 51,  257 => 50,  254 => 49,  251 => 48,  249 => 47,  246 => 46,  243 => 45,  240 => 44,  238 => 43,  231 => 38,  228 => 37,  226 => 36,  223 => 35,  220 => 34,  218 => 33,  215 => 32,  212 => 31,  202 => 30,  192 => 28,  188 => 26,  184 => 24,  181 => 23,  179 => 22,  176 => 21,  173 => 20,  163 => 19,  153 => 16,  149 => 14,  147 => 12,  146 => 11,  145 => 10,  142 => 9,  139 => 8,  129 => 7,  119 => 81,  117 => 74,  114 => 73,  112 => 30,  109 => 29,  107 => 19,  103 => 17,  100 => 7,  90 => 6,  79 => 82,  77 => 6,  74 => 5,  64 => 4,  41 => 2,);
  321.     }
  322.     public function getSourceContext()
  323.     {
  324.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  325. {% block base_main_inner %}
  326.     <div class=\"container-main\">
  327.         {% block page_content %}
  328.             {% block cms_breadcrumb %}
  329.                 {% if page.header.navigation.active.level > 2 %}
  330.                     <div class=\"breadcrumb cms-breadcrumb container\">
  331.                         {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  332.                             context: context,
  333.                             category: page.header.navigation.active
  334.                         } only %}
  335.                     </div>
  336.                 {% endif %}
  337.             {% endblock %}
  338.             {% block cms_category_headline %}
  339.                 {% set description = page.header.navigation.active.customFields.custom_category_info_description %}
  340.                 {% if page.header.navigation.active.level > 2 %}
  341.                     <div class=\"container mb-4\">
  342.                         <h1 class=\"category-headline\">{{ page.header.navigation.active.name }}</h1>
  343. {#                        <span class=\"category-description\">{{ description|striptags|raw  }}</span>#}
  344.                     </div>
  345.                 {% endif %}
  346.             {% endblock %}
  347.             {% block cms_category_description %}
  348.                 {% set description = page.header.navigation.active.customFields.custom_category_info_description %}
  349.                 {% set imgMediaId = page.header.navigation.active.customFields.custom_category_info_image %}
  350.                 {% set iconMediaId = page.header.navigation.active.customFields.custom_category_info_icon %}
  351.                 {% set attribute_1 = page.header.navigation.active.customFields.custom_category_info_attribute_1 %}
  352.                 {% set attribute_2 = page.header.navigation.active.customFields.custom_category_info_attribute_2 %}
  353.                 {% if imgMediaId %}
  354.                     {% set media = searchMedia([imgMediaId], context.context) %}
  355.                     {% set img = media.get(imgMediaId) %}
  356.                     {% if iconMediaId %}
  357.                         {% set mediaIcon = searchMedia([iconMediaId], context.context) %}
  358.                         {% set icon = mediaIcon.elements|first %}
  359.                     {% endif %}
  360.                     <div class=\"category-description-container cms-block-text-on-image\">
  361.                         <div class=\"cms-block bg-image\">
  362.                             <img src=\"{{ img.url }}\" class=\"cms-block-background media-mode--cover\">
  363.                             <div class=\"cms-block-container\">
  364.                                 <div class=\"category-description-wrapper d-flex flex-sm-column-reverse col-12 p-0\">
  365.                                     <div class=\"d-flex flex-column flex-sm-row justify-content-between\">
  366.                                         <span class=\"d-flex flex-column-reverse category-description\">{{ description|striptags|raw  }}</span>
  367.                                         <div class=\"d-flex\">
  368.                                             {% if iconMediaId %} <img class=\"category-icon\" src=\"{{ icon.url }}\">{% endif %}
  369.                                             <div class=\"category-description-attributes d-flex flex-column justify-content-end\">
  370.                                                 <span class=\"attr attr-1\">{{ attribute_1 }}</span>
  371.                                                 <span class=\"attr attr-2\">{{ attribute_2 }}</span>
  372.                                             </div>
  373.                                         </div>
  374.                                     </div>
  375.                                 </div>
  376.                             </div>
  377.                         </div>
  378.                     </div>
  379.                 {% endif %}
  380.             {% endblock %}
  381.             {% block cms_content %}
  382.                 <div class=\"cms-page\">
  383.                     {% block page_content_blocks %}
  384.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': page.cmsPage} %}
  385.                     {% endblock %}
  386.                 </div>
  387.             {% endblock %}
  388.         {% endblock %}
  389.     </div>
  390. {% endblock %}
  391. ""@Tuerschild_2/storefront/page/content/index.html.twig""/data/www/stage.tuerschildshop/custom/plugins/Tuerschild_2/src/Resources/views/storefront/page/content/index.html.twig");
  392.     }
  393. }