mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
@@ -1904,6 +1904,9 @@ func (m *pageMap) CreateSiteTaxonomies(ctx context.Context) error {
|
||||
|
||||
switch p.Kind() {
|
||||
case kinds.KindTerm:
|
||||
if !p.m.shouldList(true) {
|
||||
return false, nil
|
||||
}
|
||||
taxonomy := m.s.taxonomies[viewName.plural]
|
||||
if taxonomy == nil {
|
||||
return true, fmt.Errorf("missing taxonomy: %s", viewName.plural)
|
||||
|
Reference in New Issue
Block a user