It may be difficult for readers to retrieve an article in the case if there are many articles in your site, therefore, we added the search feature.

Prerequisites#

All you need to do is create a page called search/_index.md in the content directory.

1+++
2title = "Search"
3+++

Site Parameters#

NameTypeDefaultDescription
searchObject-Search configuration.
search.paginateInteger10Pagination.
search.resultContentWordCountInteger240The maximum word count of result content for displaying.
search.fuseObject-Fuse.js options.
search.fuse.ignoreLocationBooleantrue
search.fuse.locationInteger-
search.fuse.isCaseSensitiveBoolean-
search.fuse.minMatchCharLengthInteger-
search.fuse.thresholdDouble-
search.fuse.distanceInteger-
search.fuse.useExtendedSearchBoolean-