From: Albert Nigmatzianov Date: Mon, 8 May 2017 15:56:22 +0000 (+0200) Subject: helpers: Don't clean the path before Join X-Git-Tag: v0.21~41 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7d399904;p=brevno-suite%2Fhugo helpers: Don't clean the path before Join Join will call Clean anyway. --- diff --git a/helpers/path.go b/helpers/path.go index d246b57c..de3de2a0 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" {