mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42:19 +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) {
|
function displayResults (results, store) {
|
||||||
const searchResults = document.getElementById('results');
|
const searchResults = document.getElementById('results');
|
||||||
if (results.length) {
|
if (results.length) {
|
||||||
|
|
Loading…
Reference in a new issue