diff options
-rw-r--r-- | helpers/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/path.go b/helpers/path.go index d246b57c3..de3de2a02 100644 --- a/helpers/path.go +++ b/helpers/path.go @@ -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" { |