mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 21:51:02 +03:00
Fix broken handling of legacy taxonomyTerm in disableKinds
Fixes #11257
This commit is contained in:
parent
d947db3713
commit
d70b6c7d01
2 changed files with 39 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue