9 lines
314 B
HTML
9 lines
314 B
HTML
{{ $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> |