{% set inheritedFrom = seomatic.helper.findInheritableBundle(parentBundles, "sitemapLimit", "metaSitemapVars") %} {% set hasInheritableValues = inheritedFrom is not null %} {% set additionalVars = { 'isInherited': seomatic.helper.isInherited(metaSitemapVars, "sitemapLimit"), 'fieldLabel': "Sitemap Limit"|t("seomatic"), 'settingName': 'sitemapLimit', 'labelFor': 'metaSitemapVars-sitemapLimit', 'overrideNamespace': 'metaSitemapVars' } %} {% embed "seomatic/settings/_includes/fields/_inheritableField.twig" with additionalVars %} {% macro sitemapLimitField(sitemapLimitOptions, metaSitemapVars, suffix) %} {% set disabled = suffix|length > 0 %}
{{ "Controls a limit to how many entries will be in this sitemap. The sitemap entries will be sorted by modification date."|t("seomatic") }}