Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/head/scripts.html4
1 files changed, 2 insertions, 2 deletions
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 @@
}
// ============================================================
});
-</script> \ No newline at end of file
+</script>