From 2359f4a843fa9327556389c9e876f139e53b08f4 Mon Sep 17 00:00:00 2001 From: sunheyi <1061867552@qq.com> Date: Thu, 9 Feb 2023 17:49:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat;=E6=9C=80=E8=BF=91=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=95=B0=E9=87=8F=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modules/widgets/aside/recent-posts.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/modules/widgets/aside/recent-posts.html b/templates/modules/widgets/aside/recent-posts.html index a7c1bd62..c8f0c3fa 100644 --- a/templates/modules/widgets/aside/recent-posts.html +++ b/templates/modules/widgets/aside/recent-posts.html @@ -1,12 +1,15 @@ -
+
+
最近发布
- +
From e6fb79f791d05d7c039f62aaded301542094b012 Mon Sep 17 00:00:00 2001 From: sunheyi <1061867552@qq.com> Date: Thu, 9 Feb 2023 17:51:06 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat=EF=BC=9A=E6=9C=80=E8=BF=91=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=96=87=E7=AB=A0=E6=95=B0=E9=87=8F=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 5 +++++ templates/modules/widgets/aside/recent-posts.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/settings.yaml b/settings.yaml index 24972e02..b5a8374e 100644 --- a/settings.yaml +++ b/settings.yaml @@ -550,6 +550,11 @@ spec: label: 阅读建议 value: 4 help: "推荐阅读的文章数量" + - $formkit: number + name: recentPost + label: 最近发布文章 + value: 4 + help: "最近发布的文章数量" - $formkit: radio name: copyright label: 版权声明 diff --git a/templates/modules/widgets/aside/recent-posts.html b/templates/modules/widgets/aside/recent-posts.html index c8f0c3fa..3924c029 100644 --- a/templates/modules/widgets/aside/recent-posts.html +++ b/templates/modules/widgets/aside/recent-posts.html @@ -1,6 +1,6 @@ -
From 23ec508f3552c24227f4de653b7e85b78e8a4288 Mon Sep 17 00:00:00 2001 From: sunheyi <1061867552@qq.com> Date: Thu, 9 Feb 2023 17:53:00 +0800 Subject: [PATCH 3/3] =?UTF-8?q?Revert=20"feat;=E6=9C=80=E8=BF=91=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=96=87=E7=AB=A0=E6=95=B0=E9=87=8F=E9=99=90=E5=88=B6?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2359f4a843fa9327556389c9e876f139e53b08f4. --- templates/modules/widgets/aside/recent-posts.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/templates/modules/widgets/aside/recent-posts.html b/templates/modules/widgets/aside/recent-posts.html index 3924c029..88b75926 100644 --- a/templates/modules/widgets/aside/recent-posts.html +++ b/templates/modules/widgets/aside/recent-posts.html @@ -1,15 +1,12 @@ -
- +
最近发布