add makefile, fix link padding, test capitalization

This commit is contained in:
Jacky Zhao
2021-12-25 23:45:30 -05:00
parent c9400d06fa
commit 42a11e3f39
8 changed files with 37 additions and 29 deletions

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