hugo/helpers
Bjørn Erik Pedersen e421696d02 helpers: Consolidate MakeSegment vs MakePathSanitized
In short:

* Avoid double tolower in MakeSegment
* Use MakePathSanitized for taxonomies in pageToPermalinkTitle; this matches what MakeSegment does.
* Move the "double hyphen and space" logic into UnicodeSanitize

The last bullet may be slightly breaking for some that now does not get the "--" in some URLs, but we need to reduce the amount of URL logic.

See #4926
2018-10-03 15:55:25 +02:00
..
content.go
content_renderer.go
content_renderer_test.go
content_test.go
docshelper.go
emoji.go
emoji_test.go
general.go
general_test.go
hugo.go
hugo_test.go
path.go helpers: Consolidate MakeSegment vs MakePathSanitized 2018-10-03 15:55:25 +02:00
path_test.go helpers: Consolidate MakeSegment vs MakePathSanitized 2018-10-03 15:55:25 +02:00
pathspec.go
pathspec_test.go
processing_stats.go
pygments.go
pygments_test.go
testhelpers_test.go
url.go
url_test.go