Skip to content

Make search result limit configurable #2583

@KKamJi98

Description

@KKamJi98

Checklist

Is your feature request related to a problem? Please describe

The built-in search only shows the first 10 matches. When a query has more matches, there is no pagination or way to reveal the remaining posts, so visitors cannot discover older content.

Describe the solution you'd like

Expose a configuration (for example via _config.yml or a dedicated include) so that the limit option passed to SimpleJekyllSearch can be set by site owners, or implement pagination/infinite scroll so users can browse beyond the first page of results.

Describe alternatives you've considered

  • Override _includes/search-loader.html locally to pass a higher limit value. This works but duplicates theme code and must be maintained by each site.
  • Replace the search with an external service such as Algolia or Elasticlunr, which increases setup complexity.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions