diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-07-16 14:34:02 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-08-06 11:33:42 +0200 |
commit | 1f3addcca5bad9ed12ed3e1df7ba75859c650249 (patch) | |
tree | 2e277c7fad1f89a4aafcafa89fc269e257540f09 /exampleSite/config.toml | |
parent | dda0a0eab19457598b71f2b2b2f978b09d3f95c7 (diff) |
Implement search, loading on demand
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r-- | exampleSite/config.toml | 6 |
1 files changed, 2 insertions, 4 deletions
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 |