shithub: hugo

Download patch

ref: a8244658f74a7aabdd59dabf27df958bbe0eea45
parent: 50c64415aa6593ba93bff086602a121aa9760d40
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Mar 6 16:21:16 EST 2017

hugolib: Put back taxonomy term paginator logic lost in rebase

--- a/hugolib/hugo_sites.go
+++ b/hugolib/hugo_sites.go
@@ -549,7 +549,7 @@
 				}
 
 				// TODO(bep) output this is temporary
-				if p.IsNode() && p.Kind != KindTaxonomyTerm {
+				if p.IsNode() {
 					p.outputTypes = outputTypesWithRSS
 				} else {
 					p.outputTypes = outputTypesHTML
--- a/hugolib/site_render.go
+++ b/hugolib/site_render.go
@@ -87,7 +87,7 @@
 			}
 
 			// 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
 				}