Skip to content

Commit ba2b185

Browse files
author
brian-brewer
committed
Disable Hugo auto-sitemap to use custom sitemap.xml
1 parent 239fab0 commit ba2b185

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

config.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,14 @@ site_domain = "datatrustmanifesto.org"
3636
name = "Slack"
3737
url = "https://join.slack.com/t/datatrustengineering/shared_invite/zt-3br05le6v-pxGSBeJGLpVgOsNM9ejGuw"
3838
weight = 5
39+
40+
# Disable Hugo's automatic sitemap generation
41+
[outputs]
42+
home = ["HTML"]
43+
page = ["HTML"]
44+
section = ["HTML"]
45+
taxonomy = ["HTML"]
46+
term = ["HTML"]
47+
48+
# Disable RSS feeds and other auto-generated content
49+
disableKinds = ["RSS", "sitemap", "taxonomy", "term"]

0 commit comments

Comments
 (0)