Fix content path bug
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 1m46s

This commit is contained in:
Dominik Milacher 2025-10-14 21:52:01 +02:00
parent 68446fb89c
commit cbfab733b7

View File

@ -152,7 +152,7 @@ export function useContent() {
let base = prefix + page let base = prefix + page
if (base.endsWith('/')) { if (base.endsWith('/')) {
base = base.slice(base.length - 1) base = base.slice(0, -1)
} }
return options.anchor ? `${base}#${options.anchor}` : base return options.anchor ? `${base}#${options.anchor}` : base