mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Rename ReadDir to readDir
To make it consistent with the other template funcs.
This commit is contained in:
@@ -1369,7 +1369,7 @@ func init() {
|
||||
"dateFormat": DateFormat,
|
||||
"getJSON": GetJSON,
|
||||
"getCSV": GetCSV,
|
||||
"ReadDir": ReadDir,
|
||||
"readDir": ReadDir,
|
||||
"seq": helpers.Seq,
|
||||
"getenv": func(varName string) string { return os.Getenv(varName) },
|
||||
}
|
||||
|
Reference in New Issue
Block a user