aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorHysterelius2024-07-21 01:33:32 +1000
committerGitHub2024-07-20 08:33:32 -0700
commita7244a2983538f373c0af2ecfa4d6377584b8063 (patch)
treebc06b67d37ca88a5bbe938353f639cd28bef4d8d /config.toml
parent4dab5b9538f76cd56f53e6a68f34f505234e30ed (diff)
downloadabridge-a7244a2983538f373c0af2ecfa4d6377584b8063.tar.gz
abridge-a7244a2983538f373c0af2ecfa4d6377584b8063.tar.bz2
abridge-a7244a2983538f373c0af2ecfa4d6377584b8063.zip
Add pagefind search to abridge (#179)
* Start process of adding pagefind to abridge * Write to static to make index appear in public * Add multilingual support * Minify files and fix running in script * Add pagefind files * Add loading of pagefind data * Update gitignore to remove pagefind index files * Get basic search result surfacing working * Remove duplicate entries in search results * Sanitise except to remove unnecessary details * Finalise addition of pagefind * Add missing await * Fix config.toml and remove old files on rebuild * Finish chores on pagefind addition
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.toml b/config.toml
index c2300d5..d82748e 100644
--- a/config.toml
+++ b/config.toml
@@ -24,7 +24,7 @@ taxonomies = [
#hard_link_static = false # set to true to hard link instead of copying, useful for very large files.
[search] # Options specific to elasticlunr search.
-# index format can be: elasticlunr_json or elasticlunr_javascript
+# index format can be: elasticlunr_json or elasticlunr_javascript or fuse_json
index_format = "elasticlunr_json"
include_title = true # include title of page/section in index
include_description = true # include description of page/section in index
@@ -212,7 +212,7 @@ js_prestyle = true # used to preload: FontAwesome, Katex, external Google Fonts
js_switcher = true # The button that allows manually changing between light/dark mode.
js_switcher_default = "dark" # default nojs switcher mode: dark, light (make sure to also set $switcherDefault in abridge.scss)
-search_library = 'elasticlunr'
+search_library = "elasticlunr"
stylesheets = ["abridge.css"]
webmanifest = "manifest.min.json" # Required for PWAs