mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-26 08:52:18 +00:00
add attribution to search.js
This commit is contained in:
parent
25d657ea47
commit
1e3d802ea8
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue