node to page: Fix home target path on Windows

Updates #2297
This commit is contained in:
Bjørn Erik Pedersen committed 2016-11-22 09:57:03 +01:00
1 parent 94ea12ebcf
commit 80e453f114
1 file changed
+1 -1
+1 -1
View File
@@ -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: