hugolib: Put back taxonomy term paginator logic lost in rebase

This commit is contained in:
Bjørn Erik Pedersen 2017-03-06 21:21:16 +01:00
parent 50c64415aa
commit a8244658f7
2 changed files with 2 additions and 2 deletions

View file

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

View file

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