mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
Go back to lowercase slugs. Also, use MakePathToLower in TestMakeToLower.
go fmt
This commit is contained in:
@@ -35,7 +35,7 @@ func SanitizeUrl(in string) string {
|
||||
// uri: Vim (text editor)
|
||||
// urlize: vim-text-editor
|
||||
func Urlize(uri string) string {
|
||||
sanitized := MakePath(uri)
|
||||
sanitized := MakePathToLower(uri)
|
||||
|
||||
// escape unicode letters
|
||||
parsedUri, err := url.Parse(sanitized)
|
||||
|
Reference in New Issue
Block a user