diff --git a/config.yml b/config.yml
index ca6350c..64b04ab 100644
--- a/config.yml
+++ b/config.yml
@@ -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
diff --git a/content/search.md b/content/search.md
new file mode 100644
index 0000000..2f41765
--- /dev/null
+++ b/content/search.md
@@ -0,0 +1,8 @@
+---
+title: "Search" # in any language you want
+layout: "search" # is necessary
+# url: "/archive"
+# description: "Description for Search"
+summary: "Search"
+placeholder: "Enter your search query"
+---
\ No newline at end of file
diff --git a/layouts/partials/extend_head.html b/layouts/partials/extend_head.html
index f375efb..441f35d 100644
--- a/layouts/partials/extend_head.html
+++ b/layouts/partials/extend_head.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file