summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-12-29 10:14:37 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-12-30 18:50:09 +0100
commit4bae8b04aadd72d298bf2dd1bb1430806bf2869c (patch)
tree72532b6d9f3288ab10674c486d650e37b3249184 /hugolib/hugo_sites.go
parent0584432b078f1e3a488ad4f27f39edac0557e042 (diff)
Revert " Fix handling of taxonomy terms containing slashes"
See #4090 See #5571 This reverts commit fff132537b4094221f4f099e2251f3cda613060f.
Diffstat (limited to 'hugolib/hugo_sites.go')
-rw-r--r--hugolib/hugo_sites.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go
index e44390e4b..6a4893473 100644
--- a/hugolib/hugo_sites.go
+++ b/hugolib/hugo_sites.go
@@ -567,7 +567,7 @@ func (h *HugoSites) createMissingPages() error {
origKey := key
if s.Info.preserveTaxonomyNames {
- key = s.PathSpec.MakeSegment(key)
+ key = s.PathSpec.MakePathSanitized(key)
}
for _, p := range taxonomyPages {
// Some people may have /authors/MaxMustermann etc. as paths.