diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html index dba8cde..773961f 100644 --- a/layouts/partials/head/scripts.html +++ b/layouts/partials/head/scripts.html @@ -919,8 +919,8 @@ if (results.length > 0) { results.forEach(function (result) { var item = document.createElement('a'); - item.setAttribute('href', result.uri); - item.innerHTML = '
📄 ' + result.title + '
' + (result.description ? result.description : result.content) + '
'; + item.setAttribute('href', result.item.uri); + item.innerHTML = '
📄 ' + result.item.title + '
' + (result.item.description ? result.item.description : result.item.content) + '
'; content.appendChild(item); }); } else {