Add support for client-side search with Fuse.js. Implements #42.

Based on https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae
This commit is contained in:
Jesus P Rey (Chuso) 2021-02-04 21:52:20 +01:00
parent 946a8bd4d5
commit 9fc697e7b1
No known key found for this signature in database
GPG key ID: 0E663E0721D67C24
5 changed files with 245 additions and 0 deletions

View file

@ -32,6 +32,14 @@ languages:
languageName: 中文
weight: 8
# At least HTML and JSON are required for the main HTML content and
# client-side JavaScript search
outputs:
home:
- HTML
- RSS
- JSON
# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
# DefaultContentLanguage: fr