From e2784768ae8bb0934adb7e701074235a3519c597 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Fri, 24 Feb 2023 15:58:15 +0000
Subject: [PATCH] add algolia

---
 exampleSite/config/_default/params.toml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml
index f29b706..630de72 100644
--- a/exampleSite/config/_default/params.toml
+++ b/exampleSite/config/_default/params.toml
@@ -9,7 +9,8 @@
 
 time_format_blog = "Monday, January 02, 2006"
 time_format_default = "January 2, 2006"
-enableDarkMode = true # set to false to disable darkmode by default # user will still have the option to use dark mode
+enableDarkMode = false # set to false to disable darkmode by default # user will still have the option to use dark mode
+defaultLightingMode = "auto" # other possible values: "dark", "light"
 
 # sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
 codeMaxLines = 7
@@ -22,7 +23,16 @@
 
 otherSearchableFields = ["Tags", "Categories", "CustomField"] # As they appear in frontmatter
 
+# search
+[search]
+on = true
 # Site logo
+[search.algolia]
+enable = true # if false search will default to fusejs
+id = "Q40WQQX84U" # Application ID
+index = "compose" # Index name
+key = "da87401a458102ec6bbd6cc5e5cf8d95" # Search-Only API Key
+
 [logo]
   lightMode = "images/compose.svg"
   darkMode = "images/compose-light.svg"

--
Gitblit v1.10.0