{% set inheritedFrom = seomatic.helper.findInheritableBundle(parentBundles, "canonicalUrl") %} {% set hasInheritableValues = inheritedFrom is not null %} {% set additionalVars = { 'isInherited': seomatic.helper.isInherited(metaGlobalVars, "canonicalUrl"), 'fieldLabel': "Canonical URL"|t("seomatic"), 'settingName': 'canonicalUrl' } %} {% embed "seomatic/settings/_includes/fields/_inheritableField.twig" with additionalVars %} {% macro canonicalUrlField(metaGlobalVars, suffix, pageContext) %} {% set disabled = suffix|length > 0 %}
{{ "The search engine friendly URL that you want the search engines to treat as authoritative."|t("seomatic") }} {{ "Learn More"|t("seomatic") }}