Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update pagination to 8 posts per page *with* global reverse post ordering #86

Open
jessicabartley opened this issue Oct 28, 2021 · 0 comments

Comments

@jessicabartley
Copy link
Member

Created a hack-y solution to achieve reverse post ordering (e.g., start with Week 1 and end with Project Month) and it would be great to update this with a better method moving forward. I reversed post ordering in index.html and increased the pagination limit in _config.yml to be 13 posts per page. It was previously set to 8, which seems more manageable. However, a pagination of 8 resulted in posts being reverse ordered per page but not across pages. Specifically, Page 1 showed posts for Week 8 through Project Month and Page 2 showed posts for Week 1 through Week 7. Updating the pagination limit to 13 fixed the issue but its a lot of information to have on one page. There should be a better way to do this but I'm not sure what it is.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant