mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 00:34:37 +00:00
fix: merge conf
This commit is contained in:
@ -154,7 +154,7 @@ const highlight = (content, term) => {
|
||||
// SPA navigation
|
||||
window.navigate(
|
||||
new URL(
|
||||
`${BASE_URL}${id}#:~:text=${encodeURIComponent(term)}/`
|
||||
`${BASE_URL.replace(/\/$/g, "")}${id}#:~:text=${encodeURIComponent(term)}/`
|
||||
),
|
||||
'.singlePage'
|
||||
)
|
||||
|
Reference in New Issue
Block a user