mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
hugolib: Put back taxonomy term paginator logic lost in rebase
This commit is contained in:
parent
50c64415aa
commit
a8244658f7
2 changed files with 2 additions and 2 deletions
|
@ -549,7 +549,7 @@ func (s *Site) preparePagesForRender(cfg *BuildCfg) {
|
|||
}
|
||||
|
||||
// TODO(bep) output this is temporary
|
||||
if p.IsNode() && p.Kind != KindTaxonomyTerm {
|
||||
if p.IsNode() {
|
||||
p.outputTypes = outputTypesWithRSS
|
||||
} else {
|
||||
p.outputTypes = outputTypesHTML
|
||||
|
|
|
@ -87,7 +87,7 @@ func pageRenderer(s *Site, pages <-chan *PageOutput, results chan<- error, wg *s
|
|||
}
|
||||
|
||||
// Taxonomy terms have no page set to paginate, so skip that for now.
|
||||
if p.IsNode() && p.Kind != KindTaxonomyTerm {
|
||||
if p.IsNode() {
|
||||
if err := s.renderPaginator(p); err != nil {
|
||||
results <- err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue