<?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;
/* @H1webBlog/storefront/page/h1web_blog/meta.html.twig */
class __TwigTemplate_4b5a859cebf29ed4a34e4c6db03ed7e3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'layout_head_meta_tags_opengraph' => [$this, 'block_layout_head_meta_tags_opengraph'],
'layout_head_canonical' => [$this, 'block_layout_head_canonical'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@FuerstenbergPorzellan/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", "@H1webBlog/storefront/page/h1web_blog/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", "@H1webBlog/storefront/page/h1web_blog/meta.html.twig"));
$this->parent = $this->loadTemplate("@FuerstenbergPorzellan/storefront/layout/meta.html.twig", "@H1webBlog/storefront/page/h1web_blog/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 3
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 4
echo " <meta property=\"og:type\"
content=\"article\"/>
<meta property=\"og:site_name\"
content=\"";
// line 7
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, sw_get_attribute($this->env, $this->source, ($context["shopware"] ?? null), "config", [], "any", false, false, false, 7), "core", [], "any", false, false, false, 7), "basicInformation", [], "any", false, false, false, 7), "shopName", [], "any", false, false, false, 7), "html", null, true);
echo "\"/>
<meta property=\"og:url\"
content=\"";
// line 9
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.h1webblog.blog", ["id" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, false, false, 9), "id", [], "any", false, false, false, 9)]), "html", null, true);
echo "\"/>
<meta property=\"og:title\"
content=\"";
// line 11
echo sw_escape_filter($this->env, ($context["metaTitle"] ?? null), "html", null, true);
echo "\"/>
<meta property=\"og:description\"
content=\"";
// line 13
echo sw_escape_filter($this->env, ($context["metaDescription"] ?? null), "html", null, true);
echo "\"/>
<meta property=\"og:image\"
content=\"";
// line 15
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, false, false, 15), "media", [], "any", false, false, false, 15), "url", [], "any", false, false, false, 15)) {
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, true, false, 15), "media", [], "any", false, true, false, 15), "url", [], "any", true, true, false, 15)) ? (_twig_default_filter(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, true, false, 15), "media", [], "any", false, true, false, 15), "url", [], "any", false, false, false, 15), "")) : ("")), "@Storefront"), "html", null, true);
}
echo "\"/>
<meta name=\"twitter:card\"
content=\"summary_large_image\"/>
<meta name=\"twitter:site\"
content=\"";
// line 19
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, sw_get_attribute($this->env, $this->source, ($context["shopware"] ?? null), "config", [], "any", false, false, false, 19), "core", [], "any", false, false, false, 19), "basicInformation", [], "any", false, false, false, 19), "shopName", [], "any", false, false, false, 19), "html", null, true);
echo "\"/>
<meta name=\"twitter:title\"
content=\"";
// line 21
echo sw_escape_filter($this->env, ($context["metaTitle"] ?? null), "html", null, true);
echo "\"/>
<meta name=\"twitter:description\"
content=\"";
// line 23
echo sw_escape_filter($this->env, ($context["metaDescription"] ?? null), "html", null, true);
echo "\"/>
<meta name=\"twitter:image\"
content=\"";
// line 25
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, false, false, 25), "media", [], "any", false, false, false, 25), "url", [], "any", false, false, false, 25)) {
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, true, false, 25), "media", [], "any", false, true, false, 25), "url", [], "any", true, true, false, 25)) ? (_twig_default_filter(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, true, false, 25), "media", [], "any", false, true, false, 25), "url", [], "any", false, false, false, 25), "")) : ("")), "@Storefront"), "html", null, true);
}
echo "\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 28
public function block_layout_head_canonical($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_canonical"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_canonical"));
// line 29
echo " <link rel=\"canonical\" href=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.h1webblog.blog", ["id" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "blog", [], "any", false, false, false, 29), "id", [], "any", false, false, false, 29)]), "html", null, true);
echo "\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@H1webBlog/storefront/page/h1web_blog/meta.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 142 => 29, 132 => 28, 118 => 25, 113 => 23, 108 => 21, 103 => 19, 94 => 15, 89 => 13, 84 => 11, 79 => 9, 74 => 7, 69 => 4, 59 => 3, 36 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_meta_tags_opengraph %}
<meta property=\"og:type\"
content=\"article\"/>
<meta property=\"og:site_name\"
content=\"{{ shopware.config.core.basicInformation.shopName }}\"/>
<meta property=\"og:url\"
content=\"{{ seoUrl('frontend.h1webblog.blog', { id: page.blog.id }) }}\"/>
<meta property=\"og:title\"
content=\"{{ metaTitle }}\"/>
<meta property=\"og:description\"
content=\"{{ metaDescription }}\"/>
<meta property=\"og:image\"
content=\"{% if page.blog.media.url %}{{ asset(page.blog.media.url|default(''), '@Storefront') }}{% endif %}\"/>
<meta name=\"twitter:card\"
content=\"summary_large_image\"/>
<meta name=\"twitter:site\"
content=\"{{ shopware.config.core.basicInformation.shopName }}\"/>
<meta name=\"twitter:title\"
content=\"{{ metaTitle }}\"/>
<meta name=\"twitter:description\"
content=\"{{ metaDescription }}\"/>
<meta name=\"twitter:image\"
content=\"{% if page.blog.media.url %}{{ asset(page.blog.media.url|default(''), '@Storefront') }}{% endif %}\"/>
{% endblock %}
{% block layout_head_canonical %}
<link rel=\"canonical\" href=\"{{ seoUrl('frontend.h1webblog.blog', { id: page.blog.id }) }}\" />
{% endblock %}
", "@H1webBlog/storefront/page/h1web_blog/meta.html.twig", "/var/customers/webs/fporzellan/htdocs/vendor/store.shopware.com/h1webblog/src/Resources/views/storefront/page/h1web_blog/meta.html.twig");
}
}