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 @@ -