mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
@@ -1202,7 +1202,7 @@ func (p *Page) TargetPath() (outfile string) {
|
|||||||
// TODO(bep) np
|
// TODO(bep) np
|
||||||
switch p.NodeType {
|
switch p.NodeType {
|
||||||
case NodeHome:
|
case NodeHome:
|
||||||
return p.addLangFilepathPrefix("/")
|
return p.addLangFilepathPrefix(helpers.FilePathSeparator)
|
||||||
case NodeSection:
|
case NodeSection:
|
||||||
return p.addLangFilepathPrefix(p.sections[0])
|
return p.addLangFilepathPrefix(p.sections[0])
|
||||||
case NodeTaxonomy:
|
case NodeTaxonomy:
|
||||||
|
Reference in New Issue
Block a user