diff options
| author | verdant <i@glowisle.me> | 2026-03-25 22:53:21 +0800 |
|---|---|---|
| committer | verdant <i@glowisle.me> | 2026-03-25 22:53:21 +0800 |
| commit | 2e4a0fee929f595eb180cce8583be7985e4b5331 (patch) | |
| tree | 606d62ad64528e3cc33f3432cf77203c5c50aebb /layouts/shortcodes | |
| parent | 03757128df8774136f68acddcd346ffa3ee275fe (diff) | |
| download | blog-2e4a0fee929f595eb180cce8583be7985e4b5331.tar.gz blog-2e4a0fee929f595eb180cce8583be7985e4b5331.zip | |
style: refactor index page
Diffstat (limited to 'layouts/shortcodes')
| -rw-r--r-- | layouts/shortcodes/recent-posts.html | 2 |
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 { |
