Fix content path bug
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 1m46s
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 1m46s
This commit is contained in:
parent
68446fb89c
commit
cbfab733b7
@ -152,7 +152,7 @@ export function useContent() {
|
||||
let base = prefix + page
|
||||
|
||||
if (base.endsWith('/')) {
|
||||
base = base.slice(base.length - 1)
|
||||
base = base.slice(0, -1)
|
||||
}
|
||||
|
||||
return options.anchor ? `${base}#${options.anchor}` : base
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user