mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
@@ -137,9 +137,10 @@ 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ReaderToString is the same as ReaderToBytes, but returns a string.
|
// ReaderToString is the same as ReaderToBytes, but returns a string.
|
||||||
|
Reference in New Issue
Block a user