Skip to content

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

@jessicabartley

Description

@jessicabartley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions