Skip to content

Commit

Permalink
feat(theme): notes 默认配置, link: '/note' 变更为 link: '/'
Browse files Browse the repository at this point in the history
BREAKING CHANGE: 对于已使用该功能的用户,需要手动修改文章中的相关链接,以及 md front matter 中的 `permalink` 字段, 删去 `/note`
  • Loading branch information
pengzhanbo committed Mar 2, 2024
1 parent 89c0085 commit ef73709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme/src/node/defaultOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ef73709

Please sign in to comment.