From ef737098b5224ca662278937c92c12c6eb6f4c19 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sun, 3 Mar 2024 02:17:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(theme):=20notes=20=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=85=8D=E7=BD=AE,=20link:=20'/note'=20=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E4=B8=BA=20link:=20'/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BREAKING CHANGE: 对于已使用该功能的用户,需要手动修改文章中的相关链接,以及 md front matter 中的 `permalink` 字段, 删去 `/note` --- theme/src/node/defaultOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/src/node/defaultOptions.ts b/theme/src/node/defaultOptions.ts index 38f1940f..33f3f5a9 100644 --- a/theme/src/node/defaultOptions.ts +++ b/theme/src/node/defaultOptions.ts @@ -49,7 +49,7 @@ const defaultLocales: NonNullable = { export const fallbackLocaleOption: Partial = { article: '/article/', - notes: { link: '/note', dir: 'notes', notes: [] }, + notes: { link: '/', dir: 'notes', notes: [] }, appearance: true, // page meta editLink: true,