mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 14:16:06 +00:00
Revert "hugolib: Render paginator pages for taxonomy terms"
This reverts commit 4d679627ec.
Will have to think a little more about this.
This commit is contained in:
1 parent
3631fd2f0e
commit
a8a8249f67
1 file changed
+2
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user