custom/plugins/CbaxModulLexicon/src/Resources/views/storefront/layout/meta-canonical.html.twig line 1

Open in your IDE?
  1. {% block cbax_lexicon_layout_head_meta_tags_canonical %}
  2.     {% if cbaxModulLexicon.page == "index" %}
  3.         <link rel="canonical" href="{{ seoUrl('frontend.cbax.lexicon.index') }}" />
  4.     {% elseif cbaxModulLexicon.page == "content" %}
  5.         <link rel="canonical" href="{{ seoUrl('frontend.cbax.lexicon.content') }}" />
  6.     {% elseif cbaxModulLexicon.page == "listing" %}
  7.         <link rel="canonical" href="{{ seoUrl('frontend.cbax.lexicon.listing', { char: cbaxModulLexicon.char }) }}" />
  8.     {% else %}
  9.         <link rel="canonical" href="{{ seoUrl('frontend.cbax.lexicon.detail', { id: cbaxModulLexicon.entry.id }) }}" />
  10.     {% endif %}
  11. {% endblock %}