activate search funkction (for testing)
Dieser Commit ist enthalten in:
Ursprung
51a5639687
Commit
e571ad3ebd
1 geänderte Dateien mit 17 neuen und 1 gelöschten Zeilen
18
config.toml
18
config.toml
|
@ -34,10 +34,26 @@ enableGitInfo = true
|
||||||
enable = true
|
enable = true
|
||||||
# special amount of posts in each home posts page
|
# special amount of posts in each home posts page
|
||||||
paginate = 6
|
paginate = 6
|
||||||
|
[params.search]
|
||||||
|
enable = true
|
||||||
|
# type of search engine ("lunr", "algolia")
|
||||||
|
type = "lunr"
|
||||||
|
# max index length of the chunked content
|
||||||
|
contentLength = 4000
|
||||||
|
# placeholder of the search bar
|
||||||
|
placeholder = ""
|
||||||
|
# LoveIt NEW | 0.2.1 max number of results length
|
||||||
|
maxResultLength = 10
|
||||||
|
# LoveIt NEW | 0.2.3 snippet length of the result
|
||||||
|
snippetLength = 30
|
||||||
|
# LoveIt NEW | 0.2.1 HTML tag name of the highlight part in results
|
||||||
|
highlightTag = "em"
|
||||||
|
# LoveIt NEW | 0.2.4 whether to use the absolute URL based on the baseURL in search index
|
||||||
|
absoluteURL = false
|
||||||
|
|
||||||
# Social config about the author
|
# Social config about the author
|
||||||
[params.social]
|
[params.social]
|
||||||
Telegram = "Guenther1307"
|
Telegram = "NickSlowinski"
|
||||||
Gitea = "https://git.nick-slowinski.de/NickSlowinski/"
|
Gitea = "https://git.nick-slowinski.de/NickSlowinski/"
|
||||||
Email = "nick@nick-slowinski.de"
|
Email = "nick@nick-slowinski.de"
|
||||||
RSS = false
|
RSS = false
|
||||||
|
|
Laden …
In neuem Issue referenzieren