mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 00:21:51 +00:00
parent
40b1b8f703
commit
df943595a7
1 changed files with 2 additions and 1 deletions
|
@ -137,8 +137,9 @@ func ToLowerMap(m map[string]interface{}) {
|
|||
lKey := strings.ToLower(k)
|
||||
if k != lKey {
|
||||
delete(m, k)
|
||||
m[lKey] = v
|
||||
}
|
||||
m[lKey] = v
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue