fix(theme): incorrect notes auto frontmatter permalink
This commit is contained in:
parent
543f6ea66f
commit
b55a0f7546
@ -147,7 +147,7 @@ export function resolveOptions(
|
||||
const note = findNote(relativePath)
|
||||
const prefix = notes?.link || ''
|
||||
const args: string[] = [
|
||||
locale,
|
||||
prefix.startsWith(locale) ? '/' : locale,
|
||||
prefix,
|
||||
note?.link || '',
|
||||
]
|
||||
|
||||
@ -78,6 +78,7 @@ export function plumeTheme(options: PlumeThemeOptions = {}): Theme {
|
||||
await prepareData(app)
|
||||
})
|
||||
const { localeOptions } = await waitForConfigLoaded()
|
||||
await waitForAutoFrontmatter()
|
||||
await prepareThemeData(app, localeOptions)
|
||||
await prepareData(app)
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user