IDs still showing up in Hugo stats file

https://gohugo.io/getting-started/configuration/#configure-build

With v0.115.0 and earlier this feature was enabled by setting writeStats to true. Although still functional, the writeStats key will be deprecated in a future release.

So this:

[build]
writeStats = true

takes precedence over this:

 [build.buildStats]

Do this:

[build.buildStats]
disableClasses = false
disableIDs = true
disableTags = false
enable = true

Do not include writeStats = true in your configuration.

1 Like