mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 23:00:48 +00:00
helpers: Don't clean the path before Join
Join will call Clean anyway.
This commit is contained in:
parent
9b2028626e
commit
7d39990497
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ func prettifyPath(in string, b filepathPathBridge) string {
|
|||
if len(in) < 2 {
|
||||
return b.Separator()
|
||||
}
|
||||
return b.Join(b.Clean(in), "index.html")
|
||||
return b.Join(in, "index.html")
|
||||
}
|
||||
name, ext := fileAndExt(in, b)
|
||||
if name == "index" {
|
||||
|
|
Loading…
Reference in a new issue