diff --git a/hugolib/page.go b/hugolib/page.go index 8ebaeff05..fb2944bff 100644 --- 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: