mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
feat(theme): notes 默认配置, link: '/note' 变更为 link: '/'
BREAKING CHANGE: 对于已使用该功能的用户,需要手动修改文章中的相关链接,以及 md front matter 中的 `permalink` 字段, 删去 `/note`
This commit is contained in:
parent
89c0085d08
commit
ef737098b5
@ -49,7 +49,7 @@ const defaultLocales: NonNullable<PlumeThemeLocaleOptions['locales']> = {
|
||||
|
||||
export const fallbackLocaleOption: Partial<PlumeThemeLocaleOptions> = {
|
||||
article: '/article/',
|
||||
notes: { link: '/note', dir: 'notes', notes: [] },
|
||||
notes: { link: '/', dir: 'notes', notes: [] },
|
||||
appearance: true,
|
||||
// page meta
|
||||
editLink: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user