Hugo Search Module
Powerful, flexible and responsive client side fuzzy search module built on top of Fuse.js.
The demo site built with 10k posts (~30k
pages),
see also the GitHub Pages workflow.
~21kB
in total with compressed and gzip enabled, of which CSS and JS are ~6kB
and ~15kB
respectively.
Support fuzzy search on titles, summaries, headings and contents.
Loading the search indices on demand.
Built-in responsive, theme-less UI and interactive logic.
load more when scrolling to the bottom of results.
Highlighting the matches.
Show the number of search results and search time.
↑
and ↓
to navigate, ⏎
to select.
Filtering results by languages, years, taxonomies and so on.
Sorting results by score (best match) and date.
Configurable shortcuts to search, close modal and so on.
Allow excluding pages by setting the noindex
page parameter as true
.
Support RTL writing languages styles.