forked from cadence/breezewiki
New configuration: feature_search_suggestions
Default true. Set this to false to disable search suggestions for the whole instance.
This commit is contained in:
parent
07db44e732
commit
e709b3cea5
2 changed files with 4 additions and 1 deletions
|
@ -99,7 +99,9 @@
|
|||
(script "const BWData = "
|
||||
,(jsexpr->string (hasheq 'wikiname wikiname
|
||||
'strict_proxy (config-true? 'strict_proxy))))
|
||||
(script (@ (type "module") (src "/static/search-suggestions.js"))))
|
||||
,(if (config-true? 'feature_search_suggestions)
|
||||
'(script (@ (type "module") (src "/static/search-suggestions.js")))
|
||||
""))
|
||||
(body (@ (class ,body-class))
|
||||
(div (@ (class "main-container"))
|
||||
(div (@ (class "fandom-community-header__background tileHorizontally header")))
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
'((application_name . "BreezeWiki")
|
||||
(canonical_origin . "")
|
||||
(debug . "false")
|
||||
(feature_search_suggestions . "true")
|
||||
(instance_is_official . "false") ; please don't turn this on, or you will make me very upset
|
||||
(log_outgoing . "true")
|
||||
(port . "10416")
|
||||
|
|
Loading…
Reference in a new issue