1
0

add search

This commit is contained in:
Wonderfall
2022-07-29 02:20:24 +02:00
parent d6acaa51cc
commit 62551ba57c
3 changed files with 29 additions and 1 deletions

View File

@@ -70,6 +70,22 @@ params:
Text: "Source code" # edit text
appendFilePath: true # to append file path to Edit link
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "summary"]
#Enabling Search
outputs:
home:
- HTML
- RSS
- JSON # is necessary
markup:
highlight:
style: dracula
@@ -87,6 +103,10 @@ menu:
name: about
url: /about/
weight: 20
- identifier: Search
name: search
url: /search/
weight: 30
- identifier: french
name: french
url: https://wonderfall.space