{% set inheritedFrom = seomatic.helper.findInheritableBundle(parentBundles, "sitemapAssets", "metaSitemapVars") %} {% set hasInheritableValues = inheritedFrom is not null %} {% set additionalVars = { 'isInherited': seomatic.helper.isInherited(metaSitemapVars, "sitemapAssets"), 'fieldLabel': "Include Images & Videos in Sitemap"|t("seomatic"), 'settingName': 'sitemapAssets', 'labelFor': 'metaSitemapVars-sitemapAssets', 'overrideNamespace': 'metaSitemapVars' } %} {% embed "seomatic/settings/_includes/fields/_inheritableField.twig" with additionalVars %} {% macro sitemapAssetsField(metaSitemapVars, suffix) %} {% set disabled = suffix|length > 0 %}
{{ "Whether the URLs to images & videos in Asset fields or Asset fields in matrix blocks should be included in the sitemap"|t("seomatic") }}