var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/89/89f53a518ea0cc41432106b29447076a8c6095d9694fee00242a2aa8d6d41844.php line 56

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. /* @MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig */
  16. class __TwigTemplate_6ad9a475047eaca6711795795c1aa68e 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_inner' => [$this'block_base_main_inner'],
  27.             'page_base_progressbar' => [$this'block_page_base_progressbar'],
  28.             'page_content' => [$this'block_page_content'],
  29.             'cms_content' => [$this'block_cms_content'],
  30.             'page_base_meta' => [$this'block_page_base_meta'],
  31.             'page_content_blocks' => [$this'block_page_content_blocks'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 2
  37.         return "@MoorlFoundation/storefront/base.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig"));
  46.         $this->parent $this->loadTemplate("@MoorlFoundation/storefront/base.html.twig""@MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.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 3
  54.     public function block_base_head($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_head"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  61.         // line 4
  62.         echo "    ";
  63.         $this->loadTemplate("@MoorlMagazine/plugin/moorl-magazine/layout/article.html.twig""@MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig"4)->display(twig_array_merge($context, ["article" => sw_get_attribute($this->env$this->source,         // line 5
  64. ($context["page"] ?? null), "magazineArticle", [], "any"falsefalsefalse5)]));
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.     }
  70.     // line 9
  71.     public function block_base_main_inner($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  78.         // line 10
  79.         echo "    <div class=\"container-main\">
  80.         ";
  81.         // line 11
  82.         $this->displayBlock('page_base_progressbar'$context$blocks);
  83.         // line 12
  84.         echo "
  85.         ";
  86.         // line 13
  87.         $this->displayBlock('page_content'$context$blocks);
  88.         // line 31
  89.         echo "    </div>
  90. ";
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.     }
  96.     // line 11
  97.     public function block_page_base_progressbar($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_base_progressbar"));
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_base_progressbar"));
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108.     }
  109.     // line 13
  110.     public function block_page_content($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  117.         // line 14
  118.         echo "            ";
  119.         $this->displayBlock('cms_content'$context$blocks);
  120.         // line 30
  121.         echo "        ";
  122.         
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.     }
  127.     // line 14
  128.     public function block_cms_content($context, array $blocks = [])
  129.     {
  130.         $macros $this->macros;
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  135.         // line 15
  136.         echo "                ";
  137.         $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse15), "cssClass", [], "any"falsefalsefalse15))));
  138.         // line 16
  139.         echo "                <div class=\"";
  140.         echo sw_escape_filter($this->env, ($context["cmsPageClasses"] ?? null), "html"nulltrue);
  141.         echo "\" itemscope itemtype=\"http://www.schema.org/BlogPosting\">
  142.                     ";
  143.         // line 17
  144.         $this->displayBlock('page_base_meta'$context$blocks);
  145.         // line 24
  146.         echo "
  147.                     ";
  148.         // line 25
  149.         $this->displayBlock('page_content_blocks'$context$blocks);
  150.         // line 28
  151.         echo "                </div>
  152.             ";
  153.         
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  155.         
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157.     }
  158.     // line 17
  159.     public function block_page_base_meta($context, array $blocks = [])
  160.     {
  161.         $macros $this->macros;
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_base_meta"));
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_base_meta"));
  166.         // line 18
  167.         echo "                        <div class=\"d-none\">
  168.                             <a itemprop=\"mainEntityOfPage\" title=\"";
  169.         // line 19
  170.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "magazineArticle", [], "any"falsefalsefalse19), "translated", [], "any"falsefalsefalse19), "name", [], "any"falsefalsefalse19), "html"nulltrue);
  171.         echo "\" href=\"";
  172.         echo sw_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("moorl.magazine.article", ["magazineArticleId" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "magazineArticle", [], "any"falsefalsefalse19), "id", [], "any"falsefalsefalse19)]), "html"nulltrue);
  173.         echo "\">
  174.                                 <span itemprop=\"headline\">";
  175.         // line 20
  176.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "magazineArticle", [], "any"falsefalsefalse20), "translated", [], "any"falsefalsefalse20), "name", [], "any"falsefalsefalse20), "html"nulltrue);
  177.         echo "</span>
  178.                             </a>
  179.                         </div>
  180.                     ";
  181.         
  182.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  183.         
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  185.     }
  186.     // line 25
  187.     public function block_page_content_blocks($context, array $blocks = [])
  188.     {
  189.         $macros $this->macros;
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  193.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  194.         // line 26
  195.         echo "                        ";
  196.         $this->loadTemplate("@MoorlFoundation/storefront/page/content/detail.html.twig""@MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig"26)->display(twig_array_merge($context, ["cmsPage" => sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse26)]));
  197.         // line 27
  198.         echo "                    ";
  199.         
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  201.         
  202.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  203.     }
  204.     public function getTemplateName()
  205.     {
  206.         return "@MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig";
  207.     }
  208.     public function isTraitable()
  209.     {
  210.         return false;
  211.     }
  212.     public function getDebugInfo()
  213.     {
  214.         return array (  240 => 27,  237 => 26,  227 => 25,  213 => 20,  207 => 19,  204 => 18,  194 => 17,  183 => 28,  181 => 25,  178 => 24,  176 => 17,  171 => 16,  168 => 15,  158 => 14,  148 => 30,  145 => 14,  135 => 13,  117 => 11,  106 => 31,  104 => 13,  101 => 12,  99 => 11,  96 => 10,  86 => 9,  76 => 5,  74 => 4,  64 => 3,  41 => 2,);
  215.     }
  216.     public function getSourceContext()
  217.     {
  218.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  219. {% block base_head %}
  220.     {% sw_include '@Storefront/plugin/moorl-magazine/layout/article.html.twig' with {
  221.         article: page.magazineArticle
  222.     } %}
  223. {% endblock %}
  224. {% block base_main_inner %}
  225.     <div class=\"container-main\">
  226.         {% block page_base_progressbar %}{% endblock %}
  227.         {% block page_content %}
  228.             {% block cms_content %}
  229.                 {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  230.                 <div class=\"{{ cmsPageClasses }}\" itemscope itemtype=\"http://www.schema.org/BlogPosting\">
  231.                     {% block page_base_meta %}
  232.                         <div class=\"d-none\">
  233.                             <a itemprop=\"mainEntityOfPage\" title=\"{{ page.magazineArticle.translated.name}}\" href=\"{{ seoUrl('moorl.magazine.article', { magazineArticleId: page.magazineArticle.id }) }}\">
  234.                                 <span itemprop=\"headline\">{{ page.magazineArticle.translated.name }}</span>
  235.                             </a>
  236.                         </div>
  237.                     {% endblock %}
  238.                     {% block page_content_blocks %}
  239.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': page.cmsPage} %}
  240.                     {% endblock %}
  241.                 </div>
  242.             {% endblock %}
  243.         {% endblock %}
  244.     </div>
  245. {% endblock %}
  246. ""@MoorlMagazine/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig""/var/customers/webs/kew/htdocs6/vendor/store.shopware.com/moorlmagazine/src/Resources/views/plugin/moorl-magazine/page/content/magazine-article-detail.html.twig");
  247.     }
  248. }