mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
@@ -582,6 +582,9 @@ func DecodeConfig(m maps.Params) (Config, error) {
|
||||
}
|
||||
}
|
||||
for i := range c.Indices {
|
||||
// Lower case name.
|
||||
c.Indices[i].Name = strings.ToLower(c.Indices[i].Name)
|
||||
|
||||
icfg := c.Indices[i]
|
||||
if icfg.Type == "" {
|
||||
c.Indices[i].Type = TypeBasic
|
||||
|
Reference in New Issue
Block a user