<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @NetzpBlog6/storefront/page/blog/post.html.twig */
class __TwigTemplate_a92ee5f607d84dff4ed10341448804fd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_main_container' => [$this, 'block_base_main_container'],
'blog_content' => [$this, 'block_blog_content'],
'blog_content_post' => [$this, 'block_blog_content_post'],
'blog_content_post_inner' => [$this, 'block_blog_content_post_inner'],
'blog_content_social' => [$this, 'block_blog_content_social'],
'blog_content_media' => [$this, 'block_blog_content_media'],
'blog_content_products' => [$this, 'block_blog_content_products'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@EfbStorefront/storefront/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NetzpBlog6/storefront/page/blog/post.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NetzpBlog6/storefront/page/blog/post.html.twig"));
$this->parent = $this->loadTemplate("@EfbStorefront/storefront/base.html.twig", "@NetzpBlog6/storefront/page/blog/post.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_base_main_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main_container"));
// line 4
echo "<div class=\"container-main netzp-blog6-post\">
";
// line 5
$this->displayBlock('blog_content', $context, $blocks);
// line 32
echo "</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_blog_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content"));
// line 6
echo " ";
$this->displayBlock('blog_content_post', $context, $blocks);
// line 17
echo "
";
// line 18
$this->displayBlock('blog_content_social', $context, $blocks);
// line 23
echo "
";
// line 24
$this->displayBlock('blog_content_media', $context, $blocks);
// line 27
echo "
";
// line 28
$this->displayBlock('blog_content_products', $context, $blocks);
// line 31
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_blog_content_post($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_post"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_post"));
// line 7
echo " ";
if (($context["post"] ?? null)) {
// line 8
echo " ";
$this->displayBlock('blog_content_post_inner', $context, $blocks);
// line 15
echo " ";
}
// line 16
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_blog_content_post_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_post_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_post_inner"));
// line 9
echo " ";
if (((sw_get_attribute($this->env, $this->source, ($context["config"] ?? null), "layoutdetail", [], "any", false, false, false, 9) == "largeimage") || (sw_get_attribute($this->env, $this->source, ($context["config"] ?? null), "layoutdetail", [], "any", false, false, false, 9) == "largeimagecontain"))) {
// line 10
echo " ";
$this->loadTemplate("@NetzpBlog6/storefront/page/blog/post-image-large.html.twig", "@NetzpBlog6/storefront/page/blog/post.html.twig", 10)->display($context);
// line 11
echo " ";
} else {
// line 12
echo " ";
$this->loadTemplate("@NetzpBlog6/storefront/page/blog/post-image-small.html.twig", "@NetzpBlog6/storefront/page/blog/post.html.twig", 12)->display($context);
// line 13
echo " ";
}
// line 14
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 18
public function block_blog_content_social($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_social"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_social"));
// line 19
echo " ";
if ((($context["netzpShariffActive"] ?? null) && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetzpShariff6.config.showPage"))) {
// line 20
echo " ";
$this->loadTemplate("@NetzpBlog6/storefront/shariff-blog.html.twig", "@NetzpBlog6/storefront/page/blog/post.html.twig", 20)->display($context);
// line 21
echo " ";
}
// line 22
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 24
public function block_blog_content_media($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_media"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_media"));
// line 25
echo " ";
$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)]));
// line 26
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 28
public function block_blog_content_products($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_products"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "blog_content_products"));
// line 29
echo " ";
$this->loadTemplate("@NetzpBlog6/storefront/page/blog/post-products.html.twig", "@NetzpBlog6/storefront/page/blog/post.html.twig", 29)->display($context);
// line 30
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NetzpBlog6/storefront/page/blog/post.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_main_container %}
<div class=\"container-main netzp-blog6-post\">
{% block blog_content %}
{% block blog_content_post %}
{% if post %}
{% block blog_content_post_inner %}
{% if config.layoutdetail == 'largeimage' or config.layoutdetail == 'largeimagecontain' %}
{% sw_include \"@Storefront/storefront/page/blog/post-image-large.html.twig\" %}
{% else %}
{% sw_include \"@Storefront/storefront/page/blog/post-image-small.html.twig\" %}
{% endif %}
{% endblock %}
{% endif %}
{% endblock %}
{% block blog_content_social %}
{% if(netzpShariffActive and config('NetzpShariff6.config.showPage')) %}
{% sw_include \"@Storefront/storefront/shariff-blog.html.twig\" %}
{% endif %}
{% endblock %}
{% block blog_content_media %}
{% sw_include \"@Storefront/storefront/page/blog/post-media.html.twig\" with { post: post } %}
{% endblock %}
{% block blog_content_products %}
{% sw_include \"@Storefront/storefront/page/blog/post-products.html.twig\" %}
{% endblock %}
{% endblock %}
</div>
{% endblock %}
", "@NetzpBlog6/storefront/page/blog/post.html.twig", "/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/vendor/store.shopware.com/netzpblog6/src/Resources/views/storefront/page/blog/post.html.twig");
}
}