Closed cawa-93 closed 2 years ago
For archive.njk you just follow the standard pagination instructions (with pagination
-> data: collections.posts
). See https://www.11ty.dev/docs/pagination/#paging-a-collection
For tag pages you’ll have to get a bit more clever, read the two-layer pagination pinned issue on Eleventy core https://github.com/11ty/eleventy/issues/461
I would like add pagination to all
postlists
. For homepage i almost find solution. But how do it for tag pages?