custom/plugins/SisiBlog6/src/Resources/views/storefront/page/blog/meta.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  2. {% block layout_head_meta_tags_opengraph %}
  3.     <meta property="og:type"
  4.           content="article"/>
  5.     <meta property="og:site_name"
  6.           content="{{ shopware.config.core.basicInformation.shopName }}"/>
  7.     <meta property="og:url"
  8.           content="{{ seoUrl('frontend.blog.detail', {'postId': post.id}) }}"/>
  9.     <meta property="og:title"
  10.           content="{{ post.translated.title }}"/>
  11.     <meta property="og:description"
  12.           content="{{ post.translated.shortDescription|striptags|raw }}"/>
  13.     {% if post.cover %}
  14.         <meta property="og:image"
  15.               content="{{ asset(post.cover.media.url, '@Storefront') }}"/>
  16.     {% endif %}
  17.     <meta name="twitter:card"
  18.           content="summary"/>
  19.     <meta name="twitter:site"
  20.           content="{{ shopware.config.core.basicInformation.shopName }}"/>
  21.     <meta name="twitter:title"
  22.           content="{{ post.translated.title }}"/>
  23.     <meta name="twitter:description"
  24.           content="{{ post.translated.shortDescription|striptags|raw }}"/>
  25.     {% if post.cover %}
  26.         <meta name="twitter:image"
  27.               content="{{ asset(post.cover.media.url, '@Storefront') }}"/>
  28.     {% endif %}
  29. {% endblock %}
  30. {% block layout_head_canonical %}
  31.     <link rel="canonical" href="{{ seoUrl('frontend.blog.detail', {'postId': post.id}) }}" />
  32. {% endblock %}
  33. {% block layout_head_title_inner %}{{ post.translated.title|sw_sanitize }}{% endblock %}