mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
output: Make template name lower cased
This commit is contained in:
1 parent
10ff2f31a6
commit
0802f79e66
1 file changed
+1
-1
@@ -101,7 +101,7 @@ func CreateTemplateNames(d TemplateLookupDescriptor) (TemplateNames, error) {
|
|||||||
filenameNoSuffix := parts[0]
|
filenameNoSuffix := parts[0]
|
||||||
|
|
||||||
id.OverlayFilename = fullPath
|
id.OverlayFilename = fullPath
|
||||||
id.Name = name
|
id.Name = strings.ToLower(name)
|
||||||
|
|
||||||
if isPlainText {
|
if isPlainText {
|
||||||
id.Name = "_text/" + id.Name
|
id.Name = "_text/" + id.Name
|
||||||
|
|||||||
Reference in new issue
Block a user