From aac7fa51018e3f0b78e48579b404e106729e1971 Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Sat, 25 Jan 2025 13:05:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=BB=E9=A2=98=E7=AB=AF?= =?UTF-8?q?=E7=9A=84Katex=E5=86=85=E5=AE=B9=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=B8=BA=E6=94=AF=E6=8C=81Katex=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- annotation-setting.yaml | 24 ------------------------ settings.yaml | 10 ---------- theme.yaml | 2 +- 3 files changed, 1 insertion(+), 35 deletions(-) diff --git a/annotation-setting.yaml b/annotation-setting.yaml index 49df20b..0883b13 100644 --- a/annotation-setting.yaml +++ b/annotation-setting.yaml @@ -45,18 +45,6 @@ spec: value: "" placeholder: '请输入提示内容' help: '在文章顶部显示一条提示。' - - $formkit: radio - name: enable_katex - label: KaTeX 公式支持 - value: "" - help: '博客通过 KaTeX 做数学公式渲染,当前配置将覆盖主题中的默认配置。' - options: - - value: "true" - label: 开启 - - value: "false" - label: 关闭 - - value: "" - label: 跟随默认配置 - $formkit: radio name: enable_share label: 开启文章分享 @@ -111,18 +99,6 @@ spec: value: "" placeholder: '请输入提示内容' help: '在文章顶部显示一条提示。' - - $formkit: radio - name: enable_katex - label: KaTeX 公式支持 - value: "" - help: '博客通过 KaTeX 做数学公式渲染,当前配置将覆盖主题中的默认配置。' - options: - - value: "true" - label: 开启 - - value: "false" - label: 关闭 - - value: "" - label: 跟随默认配置 - $formkit: radio name: enable_share label: 开启文章分享 diff --git a/settings.yaml b/settings.yaml index de81dcb..973cb32 100644 --- a/settings.yaml +++ b/settings.yaml @@ -577,16 +577,6 @@ spec: value: 99999999 placeholder: '请输入时间(天)' help: '文章超过指定天数未进行更新,展示文章或图片可能失效的温馨提示。' - - $formkit: radio - name: enable_katex - label: KaTeX 公式支持 - value: false - help: '博客通过 KaTeX 做数学公式渲染,如果文章或页面元数据配置了“KaTeX 公式支持”项,则当前配置将被覆盖。' - options: - - value: true - label: 默认开启 - - value: false - label: 默认关闭 - $formkit: radio name: enable_copyright label: 开启文章版权声明 diff --git a/theme.yaml b/theme.yaml index a33061b..fbea740 100644 --- a/theme.yaml +++ b/theme.yaml @@ -30,7 +30,7 @@ spec: settingName: theme-dream2-plus-setting configMapName: theme-dream2-plus-configMap # 版本号 - version: 1.3.8.beta1 + version: 1.3.8.beta2 # 最低支持的 Halo 版本 require: ">=2.20.0" # 许可