<?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/layout/meta.html.twig */
class __TwigTemplate_2d18a7a98f389e5a4d653dc49b436138 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'layout_head_meta_tags_general' => [$this, 'block_layout_head_meta_tags_general'],
'layout_head_meta_tags_opengraph' => [$this, 'block_layout_head_meta_tags_opengraph'],
'layout_head_meta_tags_schema_webpage' => [$this, 'block_layout_head_meta_tags_schema_webpage'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@LaudertFriendlyCaptcha/storefront/layout/meta.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/layout/meta.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/layout/meta.html.twig"));
$context["postImage"] = (((sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "imagePreview", [], "any", true, true, false, 2) && !(null === sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "imagePreview", [], "any", false, false, false, 2)))) ? (sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "imagePreview", [], "any", false, false, false, 2)) : (sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "image", [], "any", false, false, false, 2)));
// line 3
$context["postThumb"] = ((sw_get_attribute($this->env, $this->source, ($context["postImage"] ?? null), "getThumbnails", [], "method", false, false, false, 3)) ? (twig_last($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->sort(sw_get_attribute($this->env, $this->source, ($context["postImage"] ?? null), "getThumbnails", [], "method", false, false, false, 3), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (sw_get_attribute($this->env, $this->source, ($context["a"] ?? null), "getHeight", [], "method", false, false, false, 3) <=> sw_get_attribute($this->env, $this->source, ($context["b"] ?? null), "getHeight", [], "method", false, false, false, 3)); }))) : (($context["postImage"] ?? null)));
// line 4
if ((($context["postThumb"] ?? null) == false)) {
$context["postThumb"] = ($context["postImage"] ?? null);
}
// line 5
$context["authorThumb"] = ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "author", [], "any", false, false, false, 5), "image", [], "any", false, false, false, 5), "getThumbnails", [], "method", false, false, false, 5)) ? (twig_first($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->filter(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "author", [], "any", false, false, false, 5), "image", [], "any", false, false, false, 5), "getThumbnails", [], "method", false, false, false, 5), function ($__t__) use ($context, $macros) { $context["t"] = $__t__; return (sw_get_attribute($this->env, $this->source, ($context["t"] ?? null), "getHeight", [], "method", false, false, false, 5) <= 500); }))) : (null));
// line 2
$this->parent = $this->loadTemplate("@LaudertFriendlyCaptcha/storefront/layout/meta.html.twig", "@NetzpBlog6/storefront/layout/meta.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 7
public function block_layout_head_meta_tags_general($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", "layout_head_meta_tags_general"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta_tags_general"));
// line 8
echo " ";
$this->displayParentBlock("layout_head_meta_tags_general", $context, $blocks);
echo "
<link rel=\"alternate\"
type=\"application/rss+xml\"
title=\"";
// line 11
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("netzp.blog.feed.metatitle"), "html", null, true);
echo "\"
href=\"";
// line 12
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 12), "get", [0 => "sw-sales-channel-base-url"], "method", false, false, false, 12), "html", null, true);
echo "/blog.rss\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 15
public function block_layout_head_meta_tags_opengraph($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", "layout_head_meta_tags_opengraph"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta_tags_opengraph"));
// line 16
echo " ";
if ((($context["activeRoute"] ?? null) == "frontend.blog.post")) {
// line 17
echo " <meta property=\"og:type\"
content=\"website\"/>
<meta property=\"og:site_name\"
content=\"";
// line 20
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["basicConfig"] ?? null), "shopName", [], "any", false, false, false, 20), "html", null, true);
echo "\"/>
<meta property=\"og:title\"
content=\"";
// line 22
echo sw_escape_filter($this->env, ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 22), "metatitle", [], "any", false, false, false, 22)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 22), "metatitle", [], "any", false, false, false, 22)) : (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 22), "title", [], "any", false, false, false, 22))), "html", null, true);
echo "\"/>
<meta property=\"og:description\"
content=\"";
// line 24
echo sw_escape_filter($this->env, ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 24), "metadescription", [], "any", false, false, false, 24)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 24), "metadescription", [], "any", false, false, false, 24)) : (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 24), "teaser", [], "any", false, false, false, 24))), "html", null, true);
echo "\"/>
";
// line 26
if (($context["postThumb"] ?? null)) {
// line 27
echo " <meta property=\"og:image\"
content=\"";
// line 28
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["postThumb"] ?? null), "getUrl", [], "method", false, false, false, 28), "html", null, true);
echo "\"/>
";
} else {
// line 30
echo " <meta property=\"og:image\"
content=\"";
// line 31
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-logo-desktop"), "html", null, true);
echo "\"/>
";
}
// line 33
echo "
<meta name=\"twitter:card\"
content=\"summary\"/>
<meta name=\"twitter:site\"
content=\"";
// line 37
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["basicConfig"] ?? null), "shopName", [], "any", false, false, false, 37), "html", null, true);
echo "\"/>
<meta name=\"twitter:title\"
content=\"";
// line 39
echo sw_escape_filter($this->env, ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 39), "metatitle", [], "any", false, false, false, 39)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 39), "metatitle", [], "any", false, false, false, 39)) : (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 39), "title", [], "any", false, false, false, 39))), "html", null, true);
echo "\"/>
<meta name=\"twitter:description\"
content=\"";
// line 41
echo sw_escape_filter($this->env, ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 41), "metadescription", [], "any", false, false, false, 41)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 41), "metadescription", [], "any", false, false, false, 41)) : (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 41), "teaser", [], "any", false, false, false, 41))), "html", null, true);
echo "\"/>
";
// line 42
if (($context["postThumb"] ?? null)) {
// line 43
echo " <meta name=\"twitter:image\"
content=\"";
// line 44
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["postThumb"] ?? null), "getUrl", [], "method", false, false, false, 44), "html", null, true);
echo "\"/>
";
} else {
// line 46
echo " <meta property=\"og:image\"
content=\"";
// line 47
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-logo-desktop"), "html", null, true);
echo "\"/>
";
}
// line 49
echo " ";
} else {
// line 50
echo " ";
$this->displayParentBlock("layout_head_meta_tags_opengraph", $context, $blocks);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 54
public function block_layout_head_meta_tags_schema_webpage($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", "layout_head_meta_tags_schema_webpage"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta_tags_schema_webpage"));
// line 55
echo " ";
$this->displayParentBlock("layout_head_meta_tags_schema_webpage", $context, $blocks);
echo "
";
// line 56
if ((($context["activeRoute"] ?? null) == "frontend.blog.post")) {
// line 57
echo " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"BlogPosting\",
\"headline\": \"";
// line 61
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 61), "title", [], "any", false, false, false, 61), "html", null, true);
echo "\",
\"url\": \"";
// line 62
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.blog.post", ["postId" => sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "id", [], "any", false, false, false, 62)]), "html", null, true);
echo "\",
\"datePublished\": \"";
// line 63
echo sw_escape_filter($this->env, twig_date_format_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "createdAt", [], "any", false, false, false, 63), "Y-m-d"), "html", null, true);
echo "\",
\"dateCreated\": \"";
// line 64
echo sw_escape_filter($this->env, twig_date_format_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "createdAt", [], "any", false, false, false, 64), "Y-m-d"), "html", null, true);
echo "\",
\"dateModified\": \"";
// line 65
echo sw_escape_filter($this->env, twig_date_format_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "updatedAt", [], "any", false, false, false, 65), "Y-m-d"), "html", null, true);
echo "\",
\"description\": \"";
// line 66
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 66), "teaser", [], "any", false, false, false, 66), "html", null, true);
echo "\",
";
// line 67
if ((twig_length_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "tags", [], "any", false, false, false, 67)) > 0)) {
echo "\"keywords\": [
";
// line 68
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "tags", [], "any", false, false, false, 68));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
echo "\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 68), "html", null, true);
echo "\"";
if ( !sw_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 68)) {
echo ", ";
}
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo "
],";
}
// line 71
echo "
";
// line 72
if (($context["postThumb"] ?? null)) {
echo "\"image\": \"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["postThumb"] ?? null), "getUrl", [], "method", false, false, false, 72), "html", null, true);
echo "\",";
}
// line 73
echo "
";
// line 74
if (sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "author", [], "any", false, false, false, 74)) {
// line 75
echo "
\"author\": {
\"@type\": \"Person\",
\"name\": \"";
// line 78
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "author", [], "any", false, false, false, 78), "translated", [], "any", false, false, false, 78), "name", [], "any", false, false, false, 78), "html", null, true);
echo "\"
";
// line 79
if (($context["authorThumb"] ?? null)) {
echo ", \"image\": \"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["authorThumb"] ?? null), "getUrl", [], "method", false, false, false, 79), "html", null, true);
echo "\"";
}
// line 80
echo "
},
";
}
// line 83
echo "
\"publisher\": {
\"@type\": \"Organization\",
\"name\": \"";
// line 86
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.basicInformation.shopName"), "html", null, true);
echo "\",
\"url\": \"";
// line 87
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.home.page");
echo "\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"";
// line 90
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\UrlEncodingTwigFilter']->encodeUrl($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-logo-desktop")), "html", null, true);
echo "\"
}
}
}
</script>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NetzpBlog6/storefront/layout/meta.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 348 => 90, 342 => 87, 338 => 86, 333 => 83, 328 => 80, 322 => 79, 318 => 78, 313 => 75, 311 => 74, 308 => 73, 302 => 72, 299 => 71, 295 => 69, 260 => 68, 256 => 67, 252 => 66, 248 => 65, 244 => 64, 240 => 63, 236 => 62, 232 => 61, 226 => 57, 224 => 56, 219 => 55, 209 => 54, 195 => 50, 192 => 49, 187 => 47, 184 => 46, 179 => 44, 176 => 43, 174 => 42, 170 => 41, 165 => 39, 160 => 37, 154 => 33, 149 => 31, 146 => 30, 141 => 28, 138 => 27, 136 => 26, 131 => 24, 126 => 22, 121 => 20, 116 => 17, 113 => 16, 103 => 15, 91 => 12, 87 => 11, 80 => 8, 70 => 7, 59 => 2, 57 => 5, 53 => 4, 51 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% set postImage = post.imagePreview ?? post.image %}
{% set postThumb = postImage.getThumbnails() ? postImage.getThumbnails()|sort((a, b) => a.getHeight() <=> b.getHeight())|last : postImage %}
{% if postThumb == false %}{% set postThumb = postImage %}{% endif %}
{% set authorThumb = post.author.image.getThumbnails() ? post.author.image.getThumbnails()|filter(t => (t.getHeight() <= 500))|first : null %}
{% block layout_head_meta_tags_general %}
{{ parent() }}
<link rel=\"alternate\"
type=\"application/rss+xml\"
title=\"{{ \"netzp.blog.feed.metatitle\"|trans }}\"
href=\"{{ app.request.get('sw-sales-channel-base-url') }}/blog.rss\" />
{% endblock %}
{% block layout_head_meta_tags_opengraph %}
{% if activeRoute == 'frontend.blog.post' %}
<meta property=\"og:type\"
content=\"website\"/>
<meta property=\"og:site_name\"
content=\"{{ basicConfig.shopName }}\"/>
<meta property=\"og:title\"
content=\"{{ post.translated.metatitle ? post.translated.metatitle : post.translated.title }}\"/>
<meta property=\"og:description\"
content=\"{{ post.translated.metadescription ? post.translated.metadescription : post.translated.teaser }}\"/>
{% if(postThumb) %}
<meta property=\"og:image\"
content=\"{{ postThumb.getUrl() }}\"/>
{% else %}
<meta property=\"og:image\"
content=\"{{ theme_config('sw-logo-desktop') }}\"/>
{% endif %}
<meta name=\"twitter:card\"
content=\"summary\"/>
<meta name=\"twitter:site\"
content=\"{{ basicConfig.shopName }}\"/>
<meta name=\"twitter:title\"
content=\"{{ post.translated.metatitle ? post.translated.metatitle : post.translated.title }}\"/>
<meta name=\"twitter:description\"
content=\"{{ post.translated.metadescription ? post.translated.metadescription : post.translated.teaser }}\"/>
{% if(postThumb) %}
<meta name=\"twitter:image\"
content=\"{{ postThumb.getUrl() }}\"/>
{% else %}
<meta property=\"og:image\"
content=\"{{ theme_config('sw-logo-desktop') }}\"/>
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block layout_head_meta_tags_schema_webpage %}
{{ parent() }}
{% if activeRoute == 'frontend.blog.post' %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"BlogPosting\",
\"headline\": \"{{ post.translated.title }}\",
\"url\": \"{{ seoUrl('frontend.blog.post', { postId: post.id }) }}\",
\"datePublished\": \"{{ post.createdAt|date('Y-m-d') }}\",
\"dateCreated\": \"{{ post.createdAt|date('Y-m-d') }}\",
\"dateModified\": \"{{ post.updatedAt|date('Y-m-d') }}\",
\"description\": \"{{ post.translated.teaser }}\",
{% if post.tags|length >0 %}\"keywords\": [
{% for tag in post.tags %}\"{{ tag.name }}\"{% if not loop.last %}, {% endif %}{% endfor %}
],{% endif %}
{% if postThumb %}\"image\": \"{{ postThumb.getUrl() }}\",{% endif %}
{% if post.author %}
\"author\": {
\"@type\": \"Person\",
\"name\": \"{{ post.author.translated.name }}\"
{% if authorThumb %}, \"image\": \"{{ authorThumb.getUrl() }}\"{% endif %}
},
{% endif %}
\"publisher\": {
\"@type\": \"Organization\",
\"name\": \"{{ config('core.basicInformation.shopName') }}\",
\"url\": \"{{ seoUrl('frontend.home.page') }}\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"{{ theme_config('sw-logo-desktop')|sw_encode_url }}\"
}
}
}
</script>
{% endif %}
{% endblock %}
", "@NetzpBlog6/storefront/layout/meta.html.twig", "/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/vendor/store.shopware.com/netzpblog6/src/Resources/views/storefront/layout/meta.html.twig");
}
}