mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Fix broken handling of legacy taxonomyTerm in disableKinds
Fixes #11257
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user