hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 80e453f11499f9f35f8431ecb22c0094b42a55f7
parent 94ea12ebcffb1107513d89e84eada53268907bf0
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed,  9 Nov 2016 00:19:37 +0100

node to page: Fix home target path on Windows

Updates #2297

Diffstat:
Mhugolib/page.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/page.go b/hugolib/page.go
@@ -1202,7 +1202,7 @@ func (p *Page) TargetPath() (outfile string) {
 	// TODO(bep) np
 	switch p.NodeType {
 	case NodeHome:
-		return p.addLangFilepathPrefix("/")
+		return p.addLangFilepathPrefix(helpers.FilePathSeparator)
 	case NodeSection:
 		return p.addLangFilepathPrefix(p.sections[0])
 	case NodeTaxonomy: