ref: 18836a71ce7b671fa71dd1318b99fc661755e94d
parent: ab40ce679f1679d76f47652711fc30348a2efafd
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Sat Aug 17 09:08:03 EDT 2019
Adjust the default paginator for sections To make it in line with 0.56 for sections; only paginate regular pages. Fixes #6231
--- a/hugolib/page__paginator.go
+++ b/hugolib/page__paginator.go
@@ -88,7 +88,7 @@
// changing in the wild, we make this a special case.
pages = p.source.s.RegularPages()
} else {
- pages = p.source.Pages()
+ pages = p.source.RegularPages()
}
paginator, err := page.Paginate(pd, pages, pagerSize)
if err != nil {