var/cache/dev_h7302b6dbeb5b1ab0a68ccd87e6c236f4/twig/a2/a215bd75dd34d45bfb6b837b07ad529e1c57b140d1db00c56b1cb71c31350634.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. /* @NetzpBlog6/storefront/page/blog/post.html.twig */
  16. class __TwigTemplate_a4596ac31045c86798ed474982b5f5d0 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_container' => [$this'block_base_main_container'],
  26.             'blog_content' => [$this'block_blog_content'],
  27.             'blog_content_post' => [$this'block_blog_content_post'],
  28.             'blog_content_post_inner' => [$this'block_blog_content_post_inner'],
  29.             'blog_content_social' => [$this'block_blog_content_social'],
  30.             'blog_content_media' => [$this'block_blog_content_media'],
  31.             'blog_content_products' => [$this'block_blog_content_products'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 2
  37.         return "@DtgsGoogleTagManagerSw6/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""@NetzpBlog6/storefront/page/blog/post.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""@NetzpBlog6/storefront/page/blog/post.html.twig"));
  46.         $this->parent $this->loadTemplate("@DtgsGoogleTagManagerSw6/storefront/base.html.twig""@NetzpBlog6/storefront/page/blog/post.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_main_container($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_container"));
  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_main_container"));
  61.         // line 4
  62.         echo "<div class=\"container-main netzp-blog6-post\">
  63.     ";
  64.         // line 5
  65.         $this->displayBlock('blog_content'$context$blocks);
  66.         // line 32
  67.         echo "</div>
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     // line 5
  75.     public function block_blog_content($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content"));
  82.         // line 6
  83.         echo "        ";
  84.         $this->displayBlock('blog_content_post'$context$blocks);
  85.         // line 17
  86.         echo "
  87.         ";
  88.         // line 18
  89.         $this->displayBlock('blog_content_social'$context$blocks);
  90.         // line 23
  91.         echo "
  92.         ";
  93.         // line 24
  94.         $this->displayBlock('blog_content_media'$context$blocks);
  95.         // line 27
  96.         echo "
  97.         ";
  98.         // line 28
  99.         $this->displayBlock('blog_content_products'$context$blocks);
  100.         // line 31
  101.         echo "    ";
  102.         
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.     }
  107.     // line 6
  108.     public function block_blog_content_post($context, array $blocks = [])
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_post"));
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_post"));
  115.         // line 7
  116.         echo "            ";
  117.         if (($context["post"] ?? null)) {
  118.             // line 8
  119.             echo "                ";
  120.             $this->displayBlock('blog_content_post_inner'$context$blocks);
  121.             // line 15
  122.             echo "            ";
  123.         }
  124.         // line 16
  125.         echo "        ";
  126.         
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  128.         
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  130.     }
  131.     // line 8
  132.     public function block_blog_content_post_inner($context, array $blocks = [])
  133.     {
  134.         $macros $this->macros;
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_post_inner"));
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_post_inner"));
  139.         // line 9
  140.         echo "                    ";
  141.         if (((sw_get_attribute($this->env$this->source, ($context["config"] ?? null), "layoutdetail", [], "any"falsefalsefalse9) == "largeimage") || (sw_get_attribute($this->env$this->source, ($context["config"] ?? null), "layoutdetail", [], "any"falsefalsefalse9) == "largeimagecontain"))) {
  142.             // line 10
  143.             echo "                        ";
  144.             $this->loadTemplate("@NetzpBlog6/storefront/page/blog/post-image-large.html.twig""@NetzpBlog6/storefront/page/blog/post.html.twig"10)->display($context);
  145.             // line 11
  146.             echo "                    ";
  147.         } else {
  148.             // line 12
  149.             echo "                        ";
  150.             $this->loadTemplate("@NetzpBlog6/storefront/page/blog/post-image-small.html.twig""@NetzpBlog6/storefront/page/blog/post.html.twig"12)->display($context);
  151.             // line 13
  152.             echo "                    ";
  153.         }
  154.         // line 14
  155.         echo "                ";
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.     }
  161.     // line 18
  162.     public function block_blog_content_social($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_social"));
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_social"));
  169.         // line 19
  170.         echo "            ";
  171.         if ((($context["netzpShariffActive"] ?? null) && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetzpShariff6.config.showPage"))) {
  172.             // line 20
  173.             echo "                ";
  174.             $this->loadTemplate("@NetzpBlog6/storefront/shariff-blog.html.twig""@NetzpBlog6/storefront/page/blog/post.html.twig"20)->display($context);
  175.             // line 21
  176.             echo "            ";
  177.         }
  178.         // line 22
  179.         echo "        ";
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.     }
  185.     // line 24
  186.     public function block_blog_content_media($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""blog_content_media"));
  191.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_media"));
  193.         // line 25
  194.         echo "            ";
  195.         $this->loadTemplate("@NetzpBlog6/storefront/page/blog/post-media.html.twig""@NetzpBlog6/storefront/page/blog/post.html.twig"25)->display(twig_array_merge($context, ["post" => ($context["post"] ?? null)]));
  196.         // line 26
  197.         echo "        ";
  198.         
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  200.         
  201.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  202.     }
  203.     // line 28
  204.     public function block_blog_content_products($context, array $blocks = [])
  205.     {
  206.         $macros $this->macros;
  207.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  208.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_products"));
  209.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  210.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_content_products"));
  211.         // line 29
  212.         echo "            ";
  213.         $this->loadTemplate("@NetzpBlog6/storefront/page/blog/post-products.html.twig""@NetzpBlog6/storefront/page/blog/post.html.twig"29)->display($context);
  214.         // line 30
  215.         echo "        ";
  216.         
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  218.         
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  220.     }
  221.     public function getTemplateName()
  222.     {
  223.         return "@NetzpBlog6/storefront/page/blog/post.html.twig";
  224.     }
  225.     public function isTraitable()
  226.     {
  227.         return false;
  228.     }
  229.     public function getDebugInfo()
  230.     {
  231.         return array (  257 => 30,  254 => 29,  244 => 28,  234 => 26,  231 => 25,  221 => 24,  211 => 22,  208 => 21,  205 => 20,  202 => 19,  192 => 18,  182 => 14,  179 => 13,  176 => 12,  173 => 11,  170 => 10,  167 => 9,  157 => 8,  147 => 16,  144 => 15,  141 => 8,  138 => 7,  128 => 6,  118 => 31,  116 => 28,  113 => 27,  111 => 24,  108 => 23,  106 => 18,  103 => 17,  100 => 6,  90 => 5,  79 => 32,  77 => 5,  74 => 4,  64 => 3,  41 => 2,);
  232.     }
  233.     public function getSourceContext()
  234.     {
  235.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  236. {% block base_main_container %}
  237. <div class=\"container-main netzp-blog6-post\">
  238.     {% block blog_content %}
  239.         {% block blog_content_post %}
  240.             {% if post %}
  241.                 {% block blog_content_post_inner %}
  242.                     {% if config.layoutdetail == 'largeimage' or config.layoutdetail == 'largeimagecontain' %}
  243.                         {% sw_include \"@Storefront/storefront/page/blog/post-image-large.html.twig\" %}
  244.                     {% else %}
  245.                         {% sw_include \"@Storefront/storefront/page/blog/post-image-small.html.twig\" %}
  246.                     {% endif %}
  247.                 {% endblock %}
  248.             {% endif %}
  249.         {% endblock %}
  250.         {% block blog_content_social %}
  251.             {% if(netzpShariffActive and config('NetzpShariff6.config.showPage')) %}
  252.                 {% sw_include \"@Storefront/storefront/shariff-blog.html.twig\" %}
  253.             {% endif %}
  254.         {% endblock %}
  255.         {% block blog_content_media %}
  256.             {% sw_include \"@Storefront/storefront/page/blog/post-media.html.twig\" with { post: post } %}
  257.         {% endblock %}
  258.         {% block blog_content_products %}
  259.             {% sw_include \"@Storefront/storefront/page/blog/post-products.html.twig\" %}
  260.         {% endblock %}
  261.     {% endblock %}
  262. </div>
  263. {% endblock %}
  264. ""@NetzpBlog6/storefront/page/blog/post.html.twig""/var/www/geuther_staging/custom/plugins/NetzpBlog6/src/Resources/views/storefront/page/blog/post.html.twig");
  265.     }
  266. }