Pagination broken, instructions make no sense

I’ve followed the instructions on this page top to bottom, nothing works. I don’t know if it’s because I’m on Github Pages with this, or because people just don’t know how to write instructions.

I’m not trying to use paginate with collections, or categories, or anything. I just want 5 posts per page, and a next button.

Absolutely nothing works

I’ve tried 40 combinations of different things people use in config.yml

Nothing

I’ve tried making an index.html file in multiple folders including the root folder

Nothing, nothing, nothing.

I work a full time job, and I’ve spent my free time outside of work exclusively trying to figure this out, and I’m no further ahead on this issue than I was when I began.

I’m at the end of my rope.

I’ve never used pagination (for real), but the one time I set it up to play with it the bit about it only working on an index.html page was very literal. Like it only worked on the root index.html page as I remember.

Are you using the pagination v1? it should work on GH pages but the V2 paginator doesn’t work unless you build via actions or whatever that way is.

Do you have a repo to share?

when it doesn’t work do you get an error? or it just doesn’t work?

In this repo, jekyll-paginate-v2 is used to handle pagination for the blog page. You can check the source code for the blog and also for the pagination part of it.