mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
94ea12ebcf
commit
80e453f114
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue