mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
committed by
Bjørn Erik Pedersen
parent
8999de193c
commit
fff132537b
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user