From a8244658f74a7aabdd59dabf27df958bbe0eea45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 6 Mar 2017 21:21:16 +0100 Subject: [PATCH] hugolib: Put back taxonomy term paginator logic lost in rebase --- hugolib/hugo_sites.go | 2 +- hugolib/site_render.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index 84f49bbc9..3cd44e46d 100644 --- a/hugolib/hugo_sites.go +++ b/hugolib/hugo_sites.go @@ -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 diff --git a/hugolib/site_render.go b/hugolib/site_render.go index 10d10d40d..b83191cb9 100644 --- a/hugolib/site_render.go +++ b/hugolib/site_render.go @@ -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 }