aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--hugolib/page__paginator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__paginator.go b/hugolib/page__paginator.go
index 20476ecfa..640a88c47 100644
--- a/hugolib/page__paginator.go
+++ b/hugolib/page__paginator.go
@@ -88,7 +88,7 @@ func (p *pagePaginator) Paginator(options ...interface{}) (*page.Pager, error) {
// 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 {