diff --git a/modules/blox/layouts/sitemap.xml b/modules/blox/layouts/sitemap.xml index 9f6074247..540f66c0d 100644 --- a/modules/blox/layouts/sitemap.xml +++ b/modules/blox/layouts/sitemap.xml @@ -2,7 +2,7 @@ {{/* Check that page is built (has a URL) and is not private. */}} - {{ range where (where .Data.Pages "Permalink" "!=" "") "Params.private" "ne" true }} + {{ range where (where (where .Data.Pages "Permalink" "!=" "") "Params.private" "ne" true) ".Sitemap.Disable" "ne" true }} {{ .Permalink }} {{- if not .Lastmod.IsZero }}{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}