Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/path.go')
-rw-r--r--helpers/path.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/helpers/path.go b/helpers/path.go
index ce2005715..ba6d0e9d1 100644
--- a/helpers/path.go
+++ b/helpers/path.go
@@ -85,7 +85,6 @@ func MakePathToLower(s string) string {
return strings.ToLower(MakePath(s))
}
-// MakeTitle trims any space and replaces hypens with a single space.
func MakeTitle(inpath string) string {
return strings.Replace(strings.TrimSpace(inpath), "-", " ", -1)
}