hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 7d39990497f0ee34c252ca746850f75bab18ff5e
parent 9b2028626e2e50f6d3502bcd87543aa4bd5d04d0
Author: Albert Nigmatzianov <albertnigma@gmail.com>
Date:   Mon,  8 May 2017 17:56:22 +0200

helpers: Don't clean the path before Join

Join will call Clean anyway.

Diffstat:
Mhelpers/path.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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" {