Paginate based on Category
parkr opened this issue · comments
Parker Moore commented
Allow users to paginate posts & collections based on categories they have!
Nicolas Le Manchet commented
Isn't it possible to just pop out posts that don't match a category in the array all_posts
?
Nicolas Le Manchet commented
Or even something like:
all_posts = site.site_payload['site']['categories'][selected_category]
Parker Moore commented
Eric Schaefer commented
@NicolasLM, confirming that works perfectly. I am going to try and patch this so that [selected_category]
can be set from the the _config.yml