Search

Hugo Search Module

Powerful, flexible and responsive client side fuzzy search module built on top of Fuse.js.

Features

Fast

The demo site built with 10k posts (~30k pages), see also the GitHub Pages workflow.

Lightweight

~21kB in total with compressed and gzip enabled, of which CSS and JS are ~6kB and ~15kB respectively.

Fuzzy Search

Support fuzzy search on titles, summaries, headings and contents.

Lazy Loading

Loading the search indices on demand.

Responsive

Built-in responsive, theme-less UI and interactive logic.

Pagination

load more when scrolling to the bottom of results.

Highlighting

Highlighting the matches.

Statistic

Show the number of search results and search time.

Results navigation

and to navigate, to select.

Filters

Filtering results by languages, years, taxonomies and so on.

Sorting

Sorting results by score (best match) and date.

Shortcuts

Configurable shortcuts to search, close modal and so on.

Excluding

Allow excluding pages by setting the noindex page parameter as true.

RTL

Support RTL writing languages styles.