blob: 4e32dc518cfc510393eb5e0b03b82f74aaa9abea (
plain)
1
2
3
4
5
6
7
8
9
|
{{ $recentArticles := 5 }}
{{ $recentArticles = .Site.Params.homepage.showRecentItems }}
<section class="space-y-10 w-full">
{{ range first $recentArticles (.Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections)).Pages
}}
{{ partial "article-link/simple.html" . }}
{{ end }}
</section>
|