diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html
index 3f0ba08..dba8cde 100644
--- a/layouts/partials/head/scripts.html
+++ b/layouts/partials/head/scripts.html
@@ -722,7 +722,7 @@
var a = document.createElement('a');
a.innerHTML = obj.item.title;
a.setAttribute('class', 'search-result__item--title');
- a.setAttribute('href', obj.item.permalink);
+ a.setAttribute('href', obj.item.uri);
var descDiv = document.createElement('div');
descDiv.setAttribute('class', 'search-result__item--desc');
@@ -1322,4 +1322,4 @@
}
// ============================================================
});
-
\ No newline at end of file
+