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