So right now I have the following in my config.yml:
gems: [jekyll-paginate]
paginate: 3
paginate_path: "page:num"
So in my index.html page I have the following:
{% for post in paginator.posts %}
Stuff
{% endfor %}
I am having trouble figuring out how I would make separate category pages and have pagination for them.
Could anyone help me shed light? I've been googling forever and I haven't been able to find anything.
Jekyll only manages posts pagination.
If you want to paginate categories, you will need a plugin like https://github.com/midnightSuyama/jekyll-paginate-category.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With