mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
output: Make template name lower cased
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user