mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Revert " Fix handling of taxonomy terms containing slashes"
See #4090
See #5571
This reverts commit fff132537b
.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user