Jacky Zhao
2021-10-25 1835b97a7a2faf23809bb39d0bec7a2b77b3b81c
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')