fix(theme): incorrect generate for notes permalink
This commit is contained in:
parent
55b96875b1
commit
b37de62121
@ -104,7 +104,7 @@ export function resolveOptions(
|
||||
const prefix = notesByLocale(locale)?.link || ''
|
||||
const note = findNote(relativePath)
|
||||
return pathJoin(
|
||||
locale,
|
||||
prefix.startsWith(locale) ? '/' : locale,
|
||||
prefix,
|
||||
note?.link || getCurrentDirname(note?.dir, relativePath),
|
||||
'/',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user