This commit is contained in:
Henrique Dias
2017-07-19 07:43:04 +01:00
parent 21bb782a3b
commit a3c70f7930
2 changed files with 3 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ func cleanURL(path string) (string, string) {
return "", path
}
return path[0:i], path[i:len(path)]
return path[0:i], path[i:]
}
// renderFile renders a file using a template with some needed variables.