hugolib: Render paginator pages for taxonomy terms
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 22 Feb 2017 20:31:52 +0000 (21:31 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 22 Feb 2017 20:31:52 +0000 (21:31 +0100)
See #2826

hugolib/site_render.go

index 5709aa83a9cb30107ae0d76c825d978caf744ea5..f3176f5b65cf0c80b92a10d6b5e64d36fd4b30c0 100644 (file)
@@ -71,8 +71,7 @@ func pageRenderer(s *Site, pages <-chan *Page, results chan<- error, wg *sync.Wa
                        results <- err
                }
 
-               // 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
                        }