Add support for Fuse.js search (fixes #101)

This commit is contained in:
daudix
2024-10-16 22:19:22 +03:00
parent 76849cd98e
commit 841ccc5fa5
8 changed files with 184 additions and 25 deletions

View File

@ -35,7 +35,8 @@ smart_punctuation = true
bottom_footnotes = true
[search]
index_format = "elasticlunr_json"
# index_format = "elasticlunr_json"
index_format = "fuse_json"
[languages.ar]
title = "Duckquill"
@ -136,6 +137,8 @@ show_reading_time = true
# Whether to show a share button in articles.
# Uses https://shareopenly.org.
show_share_button = true
# Whether to show the "Read Also" section with articles linked to in the article
show_backlinks = true
# Whether to enable the KaTeX library for rendering LaTeX.
# Note: This will make your page significantly heavier.
# Instead, consider enabling it per page/section.