diff options
author | Cameron Moore <moorereason@gmail.com> | 2018-08-22 00:18:37 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-08-22 07:18:37 +0200 |
commit | fff132537b4094221f4f099e2251f3cda613060f (patch) | |
tree | 1b057925f7e8e3e10922aaba2a8e36ef16bc8db2 /hugolib/site.go | |
parent | 8999de193c18b7aa07b44e5b7d9f443a8572e117 (diff) |
Fix handling of taxonomy terms containing slashes
Fixes #4090
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index b55b6040b..f239cf607 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1834,7 +1834,6 @@ func (s *Site) newTaxonomyPage(plural, key string) *Page { // We make the first character upper case, mostly because // it is easier to reason about in the tests. p.title = helpers.FirstUpper(key) - key = s.PathSpec.MakePathSanitized(key) } else { p.title = strings.Replace(s.titleFunc(key), "-", " ", -1) } |