diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-04-04 10:29:26 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-04-04 15:12:30 +0200 |
commit | 0802f79e666c7221e8b5580c9ccfbfb538a20b95 (patch) | |
tree | cfab2a1a333e668947067eb24683673a88f96913 /output | |
parent | 10ff2f31a6ff3c0de292c7810f74edebfc2c0fb4 (diff) | |
download | hugo-0802f79e666c7221e8b5580c9ccfbfb538a20b95.tar.gz hugo-0802f79e666c7221e8b5580c9ccfbfb538a20b95.zip |
output: Make template name lower cased
Diffstat (limited to 'output')
-rw-r--r-- | output/layout_base.go | 2 |
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 |