vendor/store.shopware.com/huebertseofaq/src/Resources/views/storefront/layout/meta.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  2. {% block layout_head_meta_tags %}
  3.     {% if page.questionSpecific %}
  4.         {% if page.questionSpecific.metaDescription %}
  5.             {% set metaDescription = page.questionSpecific.metaDescription %}
  6.         {% else %}
  7.             {% set metaDescription = config('HuebertSeoFaq.config.faqMetaDescription') %}
  8.         {% endif %}
  9.         {% if page.questionSpecific.metaTitle %}
  10.             {% set metaTitle = page.questionSpecific.metaTitle %}
  11.         {% else %}
  12.             {% set metaTitle = config('HuebertSeoFaq.config.faqMetaTitle') %}
  13.         {% endif %}
  14.         {% if page.questionSpecific.metaKeywords %}
  15.             {% set metaKeywords = page.questionSpecific.metaKeywords %}
  16.         {% endif %}
  17.     {% elseif controllerName == "SeoFaq" %}
  18.         {% set metaDescription = config('HuebertSeoFaq.config.faqMetaDescription') %}
  19.         <link rel="canonical" href="{{ page.metaInformation.canonical }}"/>
  20.     {% endif %}
  21.     {{ parent() }}
  22. {% endblock %}
  23. {% block layout_head_title_inner %}{% apply spaceless %}
  24.     {% if page.questionSpecific.metaTitle %}
  25.         {{ page.questionSpecific.metaTitle }}
  26.     {% elseif page.questionSpecific.question %}
  27.         {{ page.questionSpecific.question }}
  28.     {% elseif controllerName == "SeoFaq" and page.questionSpecific == null%}
  29.         {{ config('HuebertSeoFaq.config.faqMetaTitle')}}
  30.     {% else %}
  31.         {{ metaTitle }}
  32.     {% endif %}
  33. {% endapply %}{% endblock %}