Hugrid - Pagination

Hello Everybody

i would like to know if its possible to Implement pagination through data items

as the Hugrid theme uses {{ range $.Site.Data.items.items }} which makes its items infinite and if you have huge amount of posts with images that’s gonna make the site slow So i think pagination or infinite scrolling is necessary in this one

and i can’t seem to make it work with the pagination hugo uses :sweat:

No, pagination is for pages only.

Alright ; thank you for your reply

i’m using another theme now and i want to paginate pages not posts

do i have to to change post with page ?

Eg: {{ $paginator := .Paginate (where .Data.Pages “Type” “page”) }}

No, a post is probably a specific type of page in this scenario (a section).