From 2e4a0fee929f595eb180cce8583be7985e4b5331 Mon Sep 17 00:00:00 2001 From: verdant Date: Wed, 25 Mar 2026 22:53:21 +0800 Subject: style: refactor index page --- layouts/shortcodes/recent-posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/recent-posts.html b/layouts/shortcodes/recent-posts.html index 55f7cd4..ce5fba0 100644 --- a/layouts/shortcodes/recent-posts.html +++ b/layouts/shortcodes/recent-posts.html @@ -1,5 +1,5 @@ {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} -{{ $recent := first 12 $pages.ByDate.Reverse }} +{{ $recent := first 10 $pages.ByDate.Reverse }}