From 76937ccadfdc67f6e957cb60d26d450999046797 Mon Sep 17 00:00:00 2001 From: Stephan Lo Date: Sat, 25 Oct 2025 23:56:45 +0200 Subject: [PATCH] feat(search): enable offline search with Lunr.js - Enable offlineSearch = true for client-side search functionality - Disable Google Custom Search to avoid external API dependency - Provides instant search across all documentation content - Works completely offline without server requirements --- hugo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index 234c0c0..9b98038 100644 --- a/hugo.toml +++ b/hugo.toml @@ -112,10 +112,10 @@ url_latest_version = "https://example.com" github_branch= "main" # Google Custom Search Engine ID. Remove or comment out to disable search. -gcs_engine_id = "d72aa9b2712488cc3" +# gcs_engine_id = "d72aa9b2712488cc3" # Enable Lunr.js offline search -offlineSearch = false +offlineSearch = true # Enable syntax highlighting and copy buttons on code blocks with Prism prism_syntax_highlighting = false