feat(theme): notes 默认配置, link: '/note' 变更为 link: '/'

BREAKING CHANGE: 对于已使用该功能的用户,需要手动修改文章中的相关链接,以及 md front matter 中的 `permalink` 字段, 删去 `/note`
This commit is contained in:
pengzhanbo 2024-03-03 02:17:38 +08:00
parent 89c0085d08
commit ef737098b5

View File

@ -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,