Range with pagination is not working

Calling either .Paginate or .Paginator paginates a page collection, the result of which is cached. This is covered in the documentation.

If you need access to the .Paginator early in the template (e.g., within the head element), read this:
https://discourse.gohugo.io/t/pagination-using-pager-values-within-the-head-element/50340

1 Like