From 6957def8c6375acd60436c5a585f3082b8252228 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Fri, 11 Aug 2023 23:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=9A=84=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E5=8F=B3=E4=B8=8A=E8=A7=92=E7=9A=84=E6=8E=A8=E8=8D=90?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E4=BF=AE=E6=94=B9=E6=88=90=E5=8F=AF=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=96=87=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 20 ++++--------- templates/macro/author-content.html | 4 +-- templates/modules/widgets/top-group.html | 36 +++++++++++++----------- 3 files changed, 27 insertions(+), 33 deletions(-) diff --git a/settings.yaml b/settings.yaml index 56f9b1f0..c7188e2d 100644 --- a/settings.yaml +++ b/settings.yaml @@ -373,17 +373,13 @@ spec: name: recommendPostCustom label: 自定义文章 help: 建议设置六篇文章 - value: [ ] + max: 6 children: - - $formkit: url - name: url - label: 链接 - - $formkit: text - name: title - label: 标题 - - $formkit: attachment - name: cover - label: 封面地址 + - $formkit: postSelect + name: post + label: 文章 + value: "" + validation: required - group: layout label: 布局 @@ -1540,9 +1536,6 @@ spec: label: 描述 value: 每一张照片都是一次美好的记忆。 - - - - group: todo label: 待办清单 formSchema: @@ -1961,7 +1954,6 @@ spec: value: