mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05: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)
|
lKey := strings.ToLower(k)
|
||||||
if k != lKey {
|
if k != lKey {
|
||||||
delete(m, k)
|
delete(m, k)
|
||||||
|
m[lKey] = v
|
||||||
}
|
}
|
||||||
m[lKey] = v
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue