From: Bjørn Erik Pedersen Date: Sat, 25 Feb 2017 17:10:51 +0000 (+0100) Subject: Revert "hugolib: Render paginator pages for taxonomy terms" X-Git-Tag: v0.19~7 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a8a8249f;p=brevno-suite%2Fhugo Revert "hugolib: Render paginator pages for taxonomy terms" This reverts commit 4d679627ecf7801ee80cbd37909155728249829e. Will have to think a little more about this. --- diff --git a/hugolib/site_render.go b/hugolib/site_render.go index f3176f5b..5709aa83 100644 --- a/hugolib/site_render.go +++ b/hugolib/site_render.go @@ -71,7 +71,8 @@ func pageRenderer(s *Site, pages <-chan *Page, results chan<- error, wg *sync.Wa results <- err } - if p.IsNode() { + // Taxonomy terms have no page set to paginate, so skip that for now. + if p.IsNode() && p.Kind != KindTaxonomyTerm { if err := s.renderPaginator(p); err != nil { results <- err }