mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +00:00
1 parent
94ea12ebcf
commit
80e453f114
1 file changed
+1
-1
+1
-1
@@ -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