{% set inheritedFrom = seomatic.helper.findInheritableBundle(parentBundles, "sitemapAltLinks", "metaSitemapVars") %} {% set hasInheritableValues = inheritedFrom is not null %} {% set additionalVars = { 'isInherited': seomatic.helper.isInherited(metaSitemapVars, "sitemapAltLinks"), 'fieldLabel': "Sitemap Alt URLs"|t("seomatic"), 'settingName': 'sitemapAltLinks', 'labelFor': 'metaSitemapVars-sitemapAltLinks', 'overrideNamespace': 'metaSitemapVars' } %} {% embed "seomatic/settings/_includes/fields/_inheritableField.twig" with additionalVars %} {% macro sitemapAltLinksField(metaSitemapVars, suffix) %} {% set disabled = suffix|length > 0 %}
{{ "Whether URLs to alternate translations should be included in the sitemap"|t("seomatic") }}