aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/allconfig
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-07-19 19:10:34 +0200
committerBjørn Erik Pedersen <[email protected]>2023-07-19 19:59:17 +0200
commitd70b6c7d01893cb0db900e98d979483300f005ee (patch)
tree3d42d8f1a9bd0fde208b8f54594eb05b95b64c27 /config/allconfig
parentd947db3713ee492f88db440f4c57bdfae7da5bf7 (diff)
downloadhugo-d70b6c7d01893cb0db900e98d979483300f005ee.tar.gz
hugo-d70b6c7d01893cb0db900e98d979483300f005ee.zip
Fix broken handling of legacy taxonomyTerm in disableKinds
Fixes #11257
Diffstat (limited to 'config/allconfig')
-rw-r--r--config/allconfig/allconfig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/allconfig/allconfig.go b/config/allconfig/allconfig.go
index 9960c28f3..72f2883f2 100644
--- a/config/allconfig/allconfig.go
+++ b/config/allconfig/allconfig.go
@@ -241,7 +241,7 @@ func (c *Config) CompileConfig(logger loggers.Logger) error {
kind = strings.ToLower(kind)
if kind == "taxonomyterm" {
// Legacy config.
- kind = "term"
+ kind = "taxonomy"
}
disabledKinds[kind] = true
}