mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -244,6 +244,10 @@ func (c *Config) CompileConfig(logger loggers.Logger) error {
|
||||
// Legacy config.
|
||||
kind = "taxonomy"
|
||||
}
|
||||
if kinds.GetKindAny(kind) == "" {
|
||||
logger.Warnf("Unknown kind %q in disableKinds", kind)
|
||||
continue
|
||||
}
|
||||
disabledKinds[kind] = true
|
||||
}
|
||||
kindOutputFormats := make(map[string]output.Formats)
|
||||
|
Reference in New Issue
Block a user