Revert " Fix handling of taxonomy terms containing slashes"

See #4090
See #5571

This reverts commit fff132537b.
This commit is contained in:
Bjørn Erik Pedersen
2018-12-29 10:14:37 +01:00
parent 0584432b07
commit 4bae8b04aa
8 changed files with 50 additions and 94 deletions

View File

@@ -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.