mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-20 20:33:14 +00:00
parent
40b1b8f703
commit
df943595a7
1 changed files with 2 additions and 1 deletions
|
@ -137,9 +137,10 @@ func ToLowerMap(m map[string]interface{}) {
|
|||
lKey := strings.ToLower(k)
|
||||
if k != lKey {
|
||||
delete(m, k)
|
||||
}
|
||||
m[lKey] = v
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// ReaderToString is the same as ReaderToBytes, but returns a string.
|
||||
|
|
Loading…
Reference in a new issue