custom/plugins/SasBlogModule/src/Resources/views/storefront/layout/meta.html.twig line 1
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}{% set entry = page.blogEntry %}{% if activeRoute == 'sas.frontend.blog.detail' and entry.media.url %}{% set metaImage = entry.media.url|striptags|trim %}{% endif %}{% block layout_head_meta_tags %}{% if activeRoute == 'sas.frontend.blog.detail' %}<link rel="canonical" href="{{ seoUrl('sas.frontend.blog.detail', { articleId: entry.id }) }}"/>{% endif %}{{ parent() }}{% endblock %}{% block layout_head_meta_tags_image_og %}{{ metaImage ?? parent() }}{% endblock %}{% block layout_head_meta_tags_image_twitter %}{{ metaImage ?? parent() }}{% endblock %}{% block layout_head_meta_tags_image_meta %}{{ metaImage ?? parent() }}{% endblock %}{% block layout_head_meta_tags_schema_webpage %}{{ parent() }}{% if activeRoute == 'sas.frontend.blog.detail' %}<script type="application/ld+json">{"@context": "https://schema.org","@type": "BlogPosting","headline": "{{ entry.translated.title }}","datePublished": "{{ entry.publishedAt|date('Y-m-d\\TH:i:sP') }}","dateModified": "{{ (entry.updatedAt ?? entry.createdAt)|date('Y-m-d\\TH:i:sP') }}","author": [{"@type": "Organization","name": "{{ basicConfig.shopName }}","url": "{{ app.request.uri }}"}],{% if entry.media.thumbnails.elements|length %}"image":[{% for item in entry.media.thumbnails.elements %}"{{ item.url }}" {{ loop.last ? '' : ',' }}{% endfor %}],{% endif %}"publisher": [{"name": "{{ basicConfig.shopName }}","url": "{{ app.request.uri }}"}]}</script>{% endif %}{% endblock %}