node to page: Fix home target path on Windows

Updates #2297
This commit is contained in:
Bjørn Erik Pedersen 2016-11-09 00:19:37 +01:00
parent 94ea12ebcf
commit 80e453f114

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: