From 1e3d802ea8c5c809ed9281cc1cc4fa76b5cf871b Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 16 Jan 2024 12:03:24 -0600 Subject: [PATCH] add attribution to search.js --- assets/js/search.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/search.js b/assets/js/search.js index cf4d850..d2cf0ad 100644 --- a/assets/js/search.js +++ b/assets/js/search.js @@ -1,3 +1,4 @@ +// based on https://victoria.dev/blog/add-search-to-hugo-static-sites-with-lunr/ function displayResults (results, store) { const searchResults = document.getElementById('results'); if (results.length) {