hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit a8244658f74a7aabdd59dabf27df958bbe0eea45
parent 50c64415aa6593ba93bff086602a121aa9760d40
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon,  6 Mar 2017 21:21:16 +0100

hugolib: Put back taxonomy term paginator logic lost in rebase

Diffstat:
Mhugolib/hugo_sites.go | 2+-
Mhugolib/site_render.go | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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
 				}