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 /README.md | |
parent | b199d72e5fd7ec76b3c17fc9a6368868978d6328 (diff) |
Start work on search feature with lunr
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,7 +1,7 @@ # Hugo Book Theme [![Build Status](https://travis-ci.org/alex-shpak/hugo-book.svg?branch=master)](https://travis-ci.org/alex-shpak/hugo-book) -[![Hugo](https://img.shields.io/badge/hugo-0.48-blue.svg)](https://gohugo.io) +[![Hugo](https://img.shields.io/badge/hugo-0.55-blue.svg)](https://gohugo.io) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) ### [Hugo](https://gohugo.io) documentation theme as simple as plain book @@ -26,7 +26,7 @@ ## Requirements -- Hugo 0.48 or higher +- Hugo 0.55 or higher - Hugo extended version, read more [here](https://gohugo.io/news/0.48-relnotes/) ## Installation @@ -139,10 +139,6 @@ BookSection = 'docs' # (Optional) This value is duplicate of $link-color for making active link highlight in menu bundle mode # BookMenuBundleActiveLinkColor = '\#004ed0' -# (Optional, default false) 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' @@ -156,6 +152,9 @@ BookEditPath = 'edit/master/exampleSite/content' # - In git information # - In blog posts BookDateFormat = 'Jan 2, 2006' + +# (Optional, default true) Enables or disables search function with lunr.js +BookSearch = true ``` ### Page Configuration |