From c245695249a7091a71ccb4dacdf2a75eb6a23471 Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Tue, 22 Nov 2022 00:05:55 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20categories=20=E5=92=8C?= =?UTF-8?q?=20tags=20=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=AE=89=E8=A3=85=E4=B8=8D=E8=83=BD=E6=89=93?= =?UTF-8?q?=E5=BC=80=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 9 ++---- templates/categories.html | 35 +++++++++++++++++++++ templates/modules/post-list.html | 24 +++++++------- templates/modules/widgets/banner-group.html | 14 +++++---- templates/modules/widgets/top-group.html | 12 +++---- templates/tags.html | 32 +++++++++++++++++++ 6 files changed, 94 insertions(+), 32 deletions(-) create mode 100644 templates/categories.html create mode 100644 templates/tags.html diff --git a/settings.yaml b/settings.yaml index 9fa5ab80..691aa8bf 100644 --- a/settings.yaml +++ b/settings.yaml @@ -75,9 +75,7 @@ spec: name: bannersIconPair label: Banner 滚动图标 help: 为空时会使用系统内置图标 - value: - - top: - bottom: + value: [] children: - $formkit: group name: top @@ -190,10 +188,7 @@ spec: name: recommendPostCustom label: 自定义文章 help: "建议设置六篇文章" - value: - - url: - title: - cover: + value: [] children: - $formkit: url name: url diff --git a/templates/categories.html b/templates/categories.html new file mode 100644 index 00000000..46b1b89b --- /dev/null +++ b/templates/categories.html @@ -0,0 +1,35 @@ + + + + + +
+ +
+ + +
+ +
+
+ +
+ + \ No newline at end of file diff --git a/templates/modules/post-list.html b/templates/modules/post-list.html index 52b3246e..e33b2083 100644 --- a/templates/modules/post-list.html +++ b/templates/modules/post-list.html @@ -70,10 +70,9 @@ -