Add search with Fuse.js
This commit is contained in:
13
config.toml
13
config.toml
@@ -54,6 +54,16 @@ weight = 50
|
||||
identifier = "paper"
|
||||
url = "/paper/"
|
||||
|
||||
|
||||
[[menu.main]]
|
||||
name = "Search"
|
||||
weight = 60
|
||||
identifier = "search"
|
||||
url = "/search/"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
[params]
|
||||
version = "4.x"
|
||||
debug = false
|
||||
@@ -88,6 +98,9 @@ mathjaxEnableSingleDollar = true
|
||||
mathjaxEnableAutoNumber = true
|
||||
mathjaxUseLocalFiles = false # You should install mathjax in `your-site/static/lib/mathjax`
|
||||
|
||||
# search
|
||||
search = true
|
||||
|
||||
postMetaInFooter = false
|
||||
linkToMarkDown = false
|
||||
contentCopyright = ''
|
||||
|
Reference in New Issue
Block a user