mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
output: Make template name lower cased
This commit is contained in:
parent
10ff2f31a6
commit
0802f79e66
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ func CreateTemplateNames(d TemplateLookupDescriptor) (TemplateNames, error) {
|
|||
filenameNoSuffix := parts[0]
|
||||
|
||||
id.OverlayFilename = fullPath
|
||||
id.Name = name
|
||||
id.Name = strings.ToLower(name)
|
||||
|
||||
if isPlainText {
|
||||
id.Name = "_text/" + id.Name
|
||||
|
|
Loading…
Reference in a new issue