aboutsummaryrefslogtreecommitdiffhomepage
path: root/output
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-04-04 10:29:26 +0200
committerBjørn Erik Pedersen <[email protected]>2017-04-04 15:12:30 +0200
commit0802f79e666c7221e8b5580c9ccfbfb538a20b95 (patch)
treecfab2a1a333e668947067eb24683673a88f96913 /output
parent10ff2f31a6ff3c0de292c7810f74edebfc2c0fb4 (diff)
downloadhugo-0802f79e666c7221e8b5580c9ccfbfb538a20b95.tar.gz
hugo-0802f79e666c7221e8b5580c9ccfbfb538a20b95.zip
output: Make template name lower cased
Diffstat (limited to 'output')
-rw-r--r--output/layout_base.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/layout_base.go b/output/layout_base.go
index a0d2bc4eb..01885474d 100644
--- a/output/layout_base.go
+++ b/output/layout_base.go
@@ -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