add makefile, fix link padding, test capitalization

This commit is contained in:
Jacky Zhao 2021-12-25 23:45:30 -05:00
parent 2ba01c8311
commit 43837f9e2e
8 changed files with 37 additions and 29 deletions
layouts/partials

View file

@ -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 => ({