Skip to content

disableKinds= ["sitemap"] does not seem to work #3544

@rosell-dk

Description

@rosell-dk

I put this line in config.toml:
disableKinds= ["sitemap"]

But hugo still generates sitemap.xml

However, disableSitemap = true does stop Hugo from generating sitemap.xml
It however issues the following warning:

WARNING: site config's disableSitemap is deprecated and will be removed in a future release. Use disableKinds= ["sitemap"].

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions