aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/recent-posts.html
diff options
context:
space:
mode:
authorverdant <i@glowisle.me>2026-03-25 22:53:21 +0800
committerverdant <i@glowisle.me>2026-03-25 22:53:21 +0800
commit2e4a0fee929f595eb180cce8583be7985e4b5331 (patch)
tree606d62ad64528e3cc33f3432cf77203c5c50aebb /layouts/shortcodes/recent-posts.html
parent03757128df8774136f68acddcd346ffa3ee275fe (diff)
downloadblog-2e4a0fee929f595eb180cce8583be7985e4b5331.tar.gz
blog-2e4a0fee929f595eb180cce8583be7985e4b5331.zip
style: refactor index page
Diffstat (limited to 'layouts/shortcodes/recent-posts.html')
-rw-r--r--layouts/shortcodes/recent-posts.html2
1 files changed, 1 insertions, 1 deletions
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 }}
<style>
.recent-list {