Skip to content

Conversation

@mcanouil
Copy link
Collaborator

@mcanouil mcanouil commented Jul 24, 2025

Add support for custom pagination options in listings, allowing users to define parameters such as inner and outer window sizes. This enhancement improves flexibility in displaying paginated content.

Options from https://listjs.com/docs/pagination/

Default is unchanged but could be customised:

listing:
  pagination:
    inner-window: 2
    outer-window: 0
    outer-window-left: 0
    outer-window-right: 0
127 0 0 1_3000_tests_docs_listings__site_pagination_index html

@mcanouil mcanouil self-assigned this Jul 24, 2025
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jul 24, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cscheid cscheid added this to the v1.9 milestone Aug 19, 2025
@mcanouil mcanouil force-pushed the feat/issue12031-listing-pagination branch from fa98912 to bfef90b Compare January 14, 2026 20:55
@mcanouil mcanouil marked this pull request as ready for review January 14, 2026 21:09
Enhance the existing listing test suite by adding pagination tests to verify the presence of pagination elements and their expected behaviour in the rendered output.
@mcanouil mcanouil force-pushed the feat/issue12031-listing-pagination branch from a58b65b to d9b15fd Compare January 14, 2026 21:10
@mcanouil
Copy link
Collaborator Author

This PR is finally ready with appropriate tests.

@mcanouil mcanouil changed the title feat: customise pagination options for listings feat(listings): customise pagination options for website listings Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants