From 24ce9880536fda88202384f420aed77b81b914bb Mon Sep 17 00:00:00 2001 From: verdant Date: Sat, 18 Jul 2026 14:47:11 +0800 Subject: Add search page Search method: search engine(Google, DuckDuckGo), clone repositoriy. --- layouts/shortcodes/recent-posts.html | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'layouts') diff --git a/layouts/shortcodes/recent-posts.html b/layouts/shortcodes/recent-posts.html index 9819f36..4c3a784 100644 --- a/layouts/shortcodes/recent-posts.html +++ b/layouts/shortcodes/recent-posts.html @@ -1,26 +1,23 @@ {{ $mode := 2 }} {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} -{{ $recent := first 10 $pages.ByDate.Reverse }} +{{ $recent := first 15 $pages.ByDate.Reverse }}
{{ if $recent }} -