diff --git a/themes/camunda/layouts/_default/sitemap.xml b/themes/camunda/layouts/_default/sitemap.xml index 3a2e08d2c..d53b9f27a 100644 --- a/themes/camunda/layouts/_default/sitemap.xml +++ b/themes/camunda/layouts/_default/sitemap.xml @@ -1,7 +1,7 @@ {{/* This template is overridden to emit permalinks that (1) are absolute, and (2) specify the most recent version. This allows us to submit the sitemap to crawlers with true canonical URLs. */}} - {{ range .Data.Pages }} + {{ range where .Data.Pages "Params.robotsdisallow" "!=" true }} {{- $permalink := .Permalink }} {{- if ($.Site.Params.section.versions) }} @@ -24,4 +24,4 @@ />{{ end }} {{ end }} - \ No newline at end of file +