diff --git a/assets/js/search.js b/assets/js/search.js index d2cf0ad..cbcce7c 100644 --- a/assets/js/search.js +++ b/assets/js/search.js @@ -16,8 +16,8 @@ function displayResults (results, store) { searchResults.innerHTML = 'No results found.'; } } -const params = new URLSearchParams(window.location.search); -const query = params.get('query'); +const searchParams = new URLSearchParams(window.location.search); +const query = searchParams.get('query'); if (query) { document.getElementById('search-query').setAttribute('value', query); const idx = lunr(function () { diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 42e32dc..47f88bc 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -55,6 +55,6 @@

status.lol


-

recent track

+

latest track