diff --git a/site/content/404.md b/site/content/404.md
index 14634b216ed9..08359be3ebd0 100644
--- a/site/content/404.md
+++ b/site/content/404.md
@@ -5,7 +5,7 @@ description: ""
url: /404.html
robots: noindex,follow
sitemap:
- exclude: true
+ disable: true
---
diff --git a/site/content/docs/5.3/_index.html b/site/content/docs/5.3/_index.html
index 1e18006997c4..f182bde371ef 100644
--- a/site/content/docs/5.3/_index.html
+++ b/site/content/docs/5.3/_index.html
@@ -1,6 +1,6 @@
---
layout: redirect
sitemap:
- exclude: true
+ disable: true
redirect: "/docs/5.3/getting-started/introduction/"
---
diff --git a/site/content/docs/5.3/docsref.md b/site/content/docs/5.3/docsref.md
index 3f36dd278353..5a16470c59b7 100644
--- a/site/content/docs/5.3/docsref.md
+++ b/site/content/docs/5.3/docsref.md
@@ -6,7 +6,7 @@ aliases: "/docsref/"
toc: true
robots: noindex,follow
sitemap:
- exclude: true
+ disable: true
---
## Buttons
diff --git a/site/content/docs/_index.html b/site/content/docs/_index.html
index 1e18006997c4..f182bde371ef 100644
--- a/site/content/docs/_index.html
+++ b/site/content/docs/_index.html
@@ -1,6 +1,6 @@
---
layout: redirect
sitemap:
- exclude: true
+ disable: true
redirect: "/docs/5.3/getting-started/introduction/"
---
diff --git a/site/layouts/sitemap.xml b/site/layouts/sitemap.xml
deleted file mode 100644
index 9c626df18acd..000000000000
--- a/site/layouts/sitemap.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ printf "" | safeHTML }}
-
- {{- range where .Data.Pages "Params.sitemap.exclude" "ne" true -}}{{ if .Permalink }}
-
- {{ .Permalink }}{{ if not .Lastmod.IsZero }}
- {{ safeHTML (.Lastmod.Format "2006-01-02T15:04:05-07:00") }}{{ end }}{{ with .Sitemap.ChangeFreq }}
- {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
- {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
- {{ end }}
- {{ end }}
- {{ end }}{{ end }}
-