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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/path.go b/helpers/path.go
index a6717cb37..9ead807c7 100644
--- a/helpers/path.go
+++ b/helpers/path.go
@@ -430,10 +430,10 @@ func PathPrep(ugly bool, in string) string {
// /section/name/ becomes /section/name/index.html
// /section/name/index.html becomes /section/name/index.html
func PrettifyPath(in string) string {
- return prettiyPath(in, fpb)
+ return prettifyPath(in, fpb)
}
-func prettiyPath(in string, b filepathPathBridge) string {
+func prettifyPath(in string, b filepathPathBridge) string {
if filepath.Ext(in) == "" {
// /section/name/ -> /section/name/index.html
if len(in) < 2 {