From 1f3addcca5bad9ed12ed3e1df7ba75859c650249 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 16 Jul 2019 14:34:02 +0200 Subject: Implement search, loading on demand --- exampleSite/config.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'exampleSite/config.toml') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index edf5772..ae71adb 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -14,9 +14,6 @@ enableGitInfo = true # pygmentsStyle = 'monokailight' pygmentsCodeFences = true -[outputs] - home = ["HTML", "JSON"] - [params] # (Optional, default 6) Set how many table of contents levels to be showed on page. # Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/) @@ -48,5 +45,6 @@ pygmentsCodeFences = true # - In blog posts BookDateFormat = 'Jan 2, 2006' - # (Optional, default true) Enables or disables search function with lunr.js + # (Optional, default true) Enables search function with lunr.js, + # Index is built on fly, therefore it might slowdown your website. BookSearch = true -- cgit v1.2.3