aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorIvan Li2024-10-07 06:27:44 +0800
committerGitHub2024-10-06 15:27:44 -0700
commitcd29bdab6e7300c6024b262838239fc8fc49761f (patch)
treefa83a4964dc51434e30327040bad121b06dd625a /config.toml
parente326d6beefb3248ea2be6fa04653aa0b278677b9 (diff)
downloadabridge-cd29bdab6e7300c6024b262838239fc8fc49761f.tar.gz
abridge-cd29bdab6e7300c6024b262838239fc8fc49761f.tar.bz2
abridge-cd29bdab6e7300c6024b262838239fc8fc49761f.zip
Fix Path Error for pagefind in package_abridge.js (#209)
* fix(build): correct path for pagefind file operations Adjust file paths in package_abridge.js * fix: auto creates the `static/js` directory.
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 66395f3..ddcb797 100644
--- a/config.toml
+++ b/config.toml
@@ -25,7 +25,7 @@ taxonomies = [
[search] # Options specific to elasticlunr search.
# index format can be: elasticlunr_json or elasticlunr_javascript or fuse_json
-index_format = "elasticlunr_json"
+index_format = "fuse_json"
include_title = true # include title of page/section in index
include_description = true # include description of page/section in index
include_content = true # include rendered content of page/section in index
@@ -221,7 +221,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 = "pagefind"
stylesheets = ["abridge.css"]
webmanifest = "manifest.min.json" # Required for PWAs