summaryrefslogtreecommitdiffstats
path: root/hugolib/page_paths.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-06 09:15:42 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-06 09:15:42 +0200
commit5be0448635fdf5fe6b1ee673e869f2b9baf1a5c6 (patch)
treef9b256cda354507d20962a17c1d3d06384cd2348 /hugolib/page_paths.go
parent1f55cb767db5839ce8fd1de64cda0959d6bfac58 (diff)
hugolib: Fix disablePathToLower regression
Fixes #3374
Diffstat (limited to 'hugolib/page_paths.go')
-rw-r--r--hugolib/page_paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page_paths.go b/hugolib/page_paths.go
index 1fe8ea599..0f5add27d 100644
--- a/hugolib/page_paths.go
+++ b/hugolib/page_paths.go
@@ -85,7 +85,7 @@ func (p *Page) initTargetPathDescriptor() error {
Kind: p.Kind,
Sections: p.sections,
UglyURLs: p.s.Info.uglyURLs,
- Dir: filepath.ToSlash(strings.ToLower(p.Source.Dir())),
+ Dir: filepath.ToSlash(p.Source.Dir()),
URL: p.URLPath.URL,
}