Skip to content

feat: add pagination to search results#2584

Open
KKamJi98 wants to merge 7 commits intocotes2020:masterfrom
KKamJi98:feat/search-pagination
Open

feat: add pagination to search results#2584
KKamJi98 wants to merge 7 commits intocotes2020:masterfrom
KKamJi98:feat/search-pagination

Conversation

@KKamJi98
Copy link

@KKamJi98 KKamJi98 commented Nov 9, 2025

Type of change

  • New feature (non-breaking change which adds functionality)

Description

  • mirror the home page paginator UI in the search panel so users can browse search results page by page
  • cache raw SimpleJekyllSearch output and render only the active page, keeping the DOM small and the behavior consistent on desktop/mobile (including ellipsis + prev/next arrows)
  • expose search.limit and search.per_page in _config.yml so site owners can control how many hits are fetched and shown per page
  • added regression coverage by running bash tools/test.sh

Additional context

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.

Make search result limit configurable

1 participant