From a7244a2983538f373c0af2ecfa4d6377584b8063 Mon Sep 17 00:00:00 2001 From: Hysterelius Date: Sun, 21 Jul 2024 01:33:32 +1000 Subject: 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--- static/js/pagefind-entry.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/js/pagefind-entry.json (limited to 'static/js/pagefind-entry.json') diff --git a/static/js/pagefind-entry.json b/static/js/pagefind-entry.json new file mode 100644 index 0000000..8e83827 --- /dev/null +++ b/static/js/pagefind-entry.json @@ -0,0 +1 @@ +{"version":"1.1.0","languages":{"en":{"hash":"en_64251876f7","wasm":"en","page_count":15},"fr":{"hash":"fr_db69a6374e","wasm":"fr","page_count":11},"es":{"hash":"es_d9188c3e85","wasm":"es","page_count":2}}} \ No newline at end of file -- cgit v1.3.1