diff --git a/layouts/partials/search.html b/layouts/partials/search.html
index 78b7765..22b50a1 100644
--- a/layouts/partials/search.html
+++ b/layouts/partials/search.html
@@ -127,7 +127,7 @@
}
const redir = (id, term) => {
- window.location.href = {{.Site.BaseURL}} + `${id}#:~:text=${encodeURIComponent(term)}`
+ window.location.href = "{{.Site.BaseURL}}" + `${id}#:~:text=${encodeURIComponent(term)}`
}
const source = document.getElementById('search-bar')