mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 06:52:18 +00:00
add attribution to search.js
This commit is contained in:
parent
d7b7a2bcca
commit
2a960fe391
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