diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-07-15 18:25:21 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-08-06 11:33:42 +0200 |
commit | dda0a0eab19457598b71f2b2b2f978b09d3f95c7 (patch) | |
tree | 035ca254fe7a8c7c7df316bce0b777f9a9dd06fe /exampleSite/config.toml | |
parent | b199d72e5fd7ec76b3c17fc9a6368868978d6328 (diff) |
Start work on search feature with lunr
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r-- | exampleSite/config.toml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 63e670b..edf5772 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -14,6 +14,9 @@ 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/) @@ -28,13 +31,9 @@ pygmentsCodeFences = true # You can also set value to '*' to render all sections to menu BookSection = 'docs' - # This value is duplicate of $link-color for making active link highlight in menu bundle mode + # (Optional) This value is duplicate of $link-color for making active link highlight in menu bundle mode # BookMenuBundleActiveLinkColor = '\#004ed0' - # Include JS scripts in pages. Disabled by default. - # - Keep side menu on same scroll position during navigation - BookEnableJS = true - # Set source repository location. # Used for 'Last Modified' and 'Edit this page' links. BookRepo = 'https://github.com/alex-shpak/hugo-book' @@ -48,3 +47,6 @@ pygmentsCodeFences = true # - In git information # - In blog posts BookDateFormat = 'Jan 2, 2006' + + # (Optional, default true) Enables or disables search function with lunr.js + BookSearch = true |