https://gohugo.io/getting-started/configuration/#configure-build
With v0.115.0 and earlier this feature was enabled by setting
writeStats
totrue
. Although still functional, thewriteStats
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.