<?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_79516f88f48971c623da49108e066073 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 "@SolidAdvancedSliderElements/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["postThumb"] = ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "image", [], "any", false, false, false, 2), "getThumbnails", [], "method", false, false, false, 2)) ? (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, ($context["post"] ?? null), "image", [], "any", false, false, false, 2), "getThumbnails", [], "method", false, false, false, 2), function ($__t__) use ($context, $macros) { $context["t"] = $__t__; return (sw_get_attribute($this->env, $this->source, ($context["t"] ?? null), "getHeight", [], "method", false, false, false, 2) <= 500); }))) : (null));
// line 3
$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, 3), "image", [], "any", false, false, false, 3), "getThumbnails", [], "method", false, false, false, 3)) ? (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, 3), "image", [], "any", false, false, false, 3), "getThumbnails", [], "method", false, false, false, 3), function ($__t__) use ($context, $macros) { $context["t"] = $__t__; return (sw_get_attribute($this->env, $this->source, ($context["t"] ?? null), "getHeight", [], "method", false, false, false, 3) <= 500); }))) : (null));
// line 2
$this->parent = $this->loadTemplate("@SolidAdvancedSliderElements/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 5
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 6
echo " ";
$this->displayParentBlock("layout_head_meta_tags_general", $context, $blocks);
echo "
<link rel=\"alternate\"
type=\"application/rss+xml\"
title=\"";
// line 9
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("netzp.blog.feed.metatitle"), "html", null, true);
echo "\"
href=\"";
// line 10
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, 10), "get", [0 => "sw-sales-channel-base-url"], "method", false, false, false, 10), "html", null, true);
echo "/blog.rss\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 13
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 14
echo " ";
if ((($context["activeRoute"] ?? null) == "frontend.blog.post")) {
// line 15
echo " <meta property=\"og:type\"
content=\"website\"/>
<meta property=\"og:site_name\"
content=\"";
// line 18
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["basicConfig"] ?? null), "shopName", [], "any", false, false, false, 18), "html", null, true);
echo "\"/>
<meta property=\"og:title\"
content=\"";
// line 20
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, 20), "metatitle", [], "any", false, false, false, 20)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 20), "metatitle", [], "any", false, false, false, 20)) : (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 20), "title", [], "any", false, false, false, 20))), "html", null, true);
echo "\"/>
<meta property=\"og:description\"
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), "metadescription", [], "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), "metadescription", [], "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), "teaser", [], "any", false, false, false, 22))), "html", null, true);
echo "\"/>
";
// line 24
if (($context["postThumb"] ?? null)) {
// line 25
echo " <meta property=\"og:image\"
content=\"";
// line 26
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["postThumb"] ?? null), "getUrl", [], "method", false, false, false, 26), "html", null, true);
echo "\"/>
";
} else {
// line 28
echo " <meta property=\"og:image\"
content=\"";
// line 29
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-logo-desktop"), "html", null, true);
echo "\"/>
";
}
// line 31
echo "
<meta name=\"twitter:card\"
content=\"summary\"/>
<meta name=\"twitter:site\"
content=\"";
// line 35
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["basicConfig"] ?? null), "shopName", [], "any", false, false, false, 35), "html", null, true);
echo "\"/>
<meta name=\"twitter:title\"
content=\"";
// line 37
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, 37), "metatitle", [], "any", false, false, false, 37)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 37), "metatitle", [], "any", false, false, false, 37)) : (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "translated", [], "any", false, false, false, 37), "title", [], "any", false, false, false, 37))), "html", null, true);
echo "\"/>
<meta name=\"twitter:description\"
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), "metadescription", [], "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), "metadescription", [], "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), "teaser", [], "any", false, false, false, 39))), "html", null, true);
echo "\"/>
";
// line 40
if (($context["postThumb"] ?? null)) {
// line 41
echo " <meta name=\"twitter:image\"
content=\"";
// line 42
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["postThumb"] ?? null), "getUrl", [], "method", false, false, false, 42), "html", null, true);
echo "\"/>
";
} else {
// line 44
echo " <meta property=\"og:image\"
content=\"";
// line 45
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-logo-desktop"), "html", null, true);
echo "\"/>
";
}
// line 47
echo " ";
} else {
// line 48
echo " ";
$this->displayParentBlock("layout_head_meta_tags_opengraph", $context, $blocks);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 52
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 53
echo " ";
$this->displayParentBlock("layout_head_meta_tags_schema_webpage", $context, $blocks);
echo "
";
// line 54
if ((($context["activeRoute"] ?? null) == "frontend.blog.post")) {
// line 55
echo " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"BlogPosting\",
\"headline\": \"";
// line 59
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, 59), "title", [], "any", false, false, false, 59), "html", null, true);
echo "\",
\"url\": \"";
// line 60
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, 60)]), "html", null, true);
echo "\",
\"datePublished\": \"";
// line 61
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, 61), "Y-m-d"), "html", null, true);
echo "\",
\"dateCreated\": \"";
// line 62
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, 62), "Y-m-d"), "html", null, true);
echo "\",
\"dateModified\": \"";
// line 63
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, 63), "Y-m-d"), "html", null, true);
echo "\",
\"description\": \"";
// line 64
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, 64), "teaser", [], "any", false, false, false, 64), "html", null, true);
echo "\",
";
// line 65
if ((twig_length_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "tags", [], "any", false, false, false, 65)) > 0)) {
echo "\"keywords\": [
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "tags", [], "any", false, false, false, 66));
$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, 66), "html", null, true);
echo "\"";
if ( !sw_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 66)) {
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 67
echo "
],";
}
// line 69
echo "
";
// line 70
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, 70), "html", null, true);
echo "\",";
}
// line 71
echo "
";
// line 72
if (sw_get_attribute($this->env, $this->source, ($context["post"] ?? null), "author", [], "any", false, false, false, 72)) {
// line 73
echo "
\"author\": {
\"@type\": \"Person\",
\"name\": \"";
// line 76
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, 76), "translated", [], "any", false, false, false, 76), "name", [], "any", false, false, false, 76), "html", null, true);
echo "\"
";
// line 77
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, 77), "html", null, true);
echo "\"";
}
// line 78
echo "
},
";
}
// line 81
echo "
\"publisher\": {
\"@type\": \"Organization\",
\"name\": \"";
// line 84
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 85
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.home.page");
echo "\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"";
// line 88
echo sw_escape_filter($this->env, $this->extensions['FourtwosixWebpImageConverter\Decorators\Services\UrlEncodingTwigFilterDecorator']->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 ( 342 => 88, 336 => 85, 332 => 84, 327 => 81, 322 => 78, 316 => 77, 312 => 76, 307 => 73, 305 => 72, 302 => 71, 296 => 70, 293 => 69, 289 => 67, 254 => 66, 250 => 65, 246 => 64, 242 => 63, 238 => 62, 234 => 61, 230 => 60, 226 => 59, 220 => 55, 218 => 54, 213 => 53, 203 => 52, 189 => 48, 186 => 47, 181 => 45, 178 => 44, 173 => 42, 170 => 41, 168 => 40, 164 => 39, 159 => 37, 154 => 35, 148 => 31, 143 => 29, 140 => 28, 135 => 26, 132 => 25, 130 => 24, 125 => 22, 120 => 20, 115 => 18, 110 => 15, 107 => 14, 97 => 13, 85 => 10, 81 => 9, 74 => 6, 64 => 5, 53 => 2, 51 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% set postThumb = post.image.getThumbnails() ? post.image.getThumbnails()|filter(t => (t.getHeight() <= 500))|first : null %}
{% 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/geuther_staging/custom/plugins/NetzpBlog6/src/Resources/views/storefront/layout/meta.html.twig");
}
}