Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzossig <zzossig@gmail.com>2021-04-19 22:46:56 +0300
committerzzossig <zzossig@gmail.com>2021-04-19 22:46:56 +0300
commit272be8ac8836cbd1d595594497810ab8576719d9 (patch)
treea3148ff24394f8b1d789cf5f700f59f8052e1ce4 /exampleSite
parent438cc9561c5ed0d60075f6a52f5f2a122a70c66a (diff)
2 more search options: searchContent, searchDistance
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config/_default/params.toml11
1 files changed, 7 insertions, 4 deletions
diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml
index 08dd35e..99d6687 100644
--- a/exampleSite/config/_default/params.toml
+++ b/exampleSite/config/_default/params.toml
@@ -30,15 +30,18 @@ hideHomeHeaderWhenMobile = false
# menu
showMobileMenuTerms = ["tags", "categories", "series"]
-# body
-enableBreadcrumb = true
-enablePhotoSwipe = true
+# search
enableSearch = true
enableSearchHighlight = true
+searchResultPosition = "main" # side, main
+searchContent = true # include content to search index
+searchDistance = 100 # fuse option
+
+# body
+enableBreadcrumb = true
enableGoToTop = true
enableWhoami = true
summaryShape = "classic" # card, classic, compact
-searchResultPosition = "main" # side, main
archiveGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
archivePaginate = 13
paginateWindow = 1