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 helpers: Fix golint issues 2018-09-07 08:25:51 +02:00
general_test.go
hugo.go releaser: Prepare repository for 0.50-DEV 2018-09-24 10:04:24 +00:00
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 helpers: Fix golint issues 2018-09-07 08:25:51 +02:00
pygments.go Add table linenos support for Chroma highlighter 2017-10-14 16:00:27 +02:00
pygments_test.go
testhelpers_test.go
url.go
url_test.go