From f76d6e57fcc03970e9f07b2ce98352eccdf05b2e Mon Sep 17 00:00:00 2001 From: sunheyi <50973219+shy-share@users.noreply.github.com> Date: Thu, 9 Feb 2023 17:54:50 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E5=8F=91=E5=B8=83=E6=96=87=E7=AB=A0=E9=99=90?= =?UTF-8?q?=E5=88=B6=E6=95=B0=E9=87=8F=20(#88)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat;最近发布文章数量限制 --- 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 a7c1bd62..88b75926 100644 --- a/templates/modules/widgets/aside/recent-posts.html +++ b/templates/modules/widgets/aside/recent-posts.html @@ -1,6 +1,6 @@ -