speedtech-website/themes/lean/layouts/partials/home-blog-posts.html
2025-09-15 08:46:36 +02:00

13 lines
No EOL
403 B
HTML

{{ $projects := first 4 ((where .Site.RegularPages "Type" "blog").ByParam "LastmodDate") }}
{{ with $projects }}
<div class="row articles home" >
<h3 class="text-center">{{ i18n "latest_articles" }}</h3>
{{ range . }}
<div class="col s12 m12 l12 article">
{{ partial "partials/article-item-home.html" (dict "article" . "tags" "cattags") }}
</div>
{{ end }}
</div>
{{ end }}