From c725994276ea22a1bf11e136eef4a5d41999f8cb Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Wed, 11 Nov 2020 21:32:40 +0000
Subject: [PATCH] drop lunr and use fuse for search
---
layouts/partials/scripts.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 04fe08f..7227c20 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,7 +1,7 @@
{{- $funcPath := "js/functions.js" }}
{{- $functions := resources.Get $funcPath | resources.ExecuteAsTemplate $funcPath . }}
-{{- $lunrPath := "js/lunr.js" }}
+{{- $lunrPath := "js/fuse.js" }}
{{- $lunr := resources.Get $lunrPath | resources.ExecuteAsTemplate $lunrPath . }}
{{- $searchPath := "js/search.js" }}
--
Gitblit v1.10.0