Add search with Fuse.js

This commit is contained in:
2020-04-21 13:25:23 +02:00
parent e2417094ed
commit 8633c0c130
3 changed files with 65 additions and 1 deletions

View File

@@ -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 = ''