From e571ad3ebdf1524916938922d16e536e3372d8f9 Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Mon, 21 Jun 2021 14:40:35 +0200 Subject: [PATCH] activate search funkction (for testing) --- config.toml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index de1deb7..dd75212 100644 --- a/config.toml +++ b/config.toml @@ -34,10 +34,26 @@ enableGitInfo = true enable = true # special amount of posts in each home posts page paginate = 6 + [params.search] + enable = true + # type of search engine ("lunr", "algolia") + type = "lunr" + # max index length of the chunked content + contentLength = 4000 + # placeholder of the search bar + placeholder = "" + # LoveIt NEW | 0.2.1 max number of results length + maxResultLength = 10 + # LoveIt NEW | 0.2.3 snippet length of the result + snippetLength = 30 + # LoveIt NEW | 0.2.1 HTML tag name of the highlight part in results + highlightTag = "em" + # LoveIt NEW | 0.2.4 whether to use the absolute URL based on the baseURL in search index + absoluteURL = false # Social config about the author [params.social] - Telegram = "Guenther1307" + Telegram = "NickSlowinski" Gitea = "https://git.nick-slowinski.de/NickSlowinski/" Email = "nick@nick-slowinski.de" RSS = false