From 85f3469c684b52548317d5d3ae4d2e9dcb7ecf9e Mon Sep 17 00:00:00 2001 From: tpmccallum Date: Fri, 15 Mar 2024 10:11:09 +1000 Subject: [PATCH] Enable search without using GSC Signed-off-by: tpmccallum --- hugo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index b7eb224..0c74f40 100644 --- a/hugo.toml +++ b/hugo.toml @@ -120,10 +120,12 @@ github_project_repo = "https://github.com/spinkube/spin-operator" github_branch= "main" # Google Custom Search Engine ID. Remove or comment out to disable search. -gcs_engine_id = "d774df95371c74907" +# gcs_engine_id = "d774df95371c74907" # Enable Lunr.js offline search -offlineSearch = false +offlineSearch = true +offlineSearchSummaryLength = 200 +offlineSearchMaxResults = 25 # Enable syntax highlighting and copy buttons on code blocks with Prism prism_syntax_highlighting = false