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