Jacky Zhao
2021-12-26 43837f9e2ec4033722cb6957bd67c688afb3ae2c
layouts/partials/search.html
@@ -145,7 +145,7 @@
    }
    const redir = (id, term) => {
        window.location.href = "{{.Site.BaseURL}}" + `${id.toLowerCase()}#:~:text=${encodeURIComponent(term)}`
        window.location.href = "{{.Site.BaseURL}}" + `${id}#:~:text=${encodeURIComponent(term)}`
    }
    const fetch = id => ({