abdullahtarawneh.com/layouts/shortcodes/index/latest-posts.html

8 lines
208 B
HTML
Raw Normal View History

2024-06-03 12:39:43 +00:00
{{ range first ( or (.Get 0) 5 ) (where .Site.RegularPages "Section" "blog") }}
2024-06-02 05:04:04 +00:00
<article class="h-entry">
<a href="{{ .Permalink }}">
<h3>{{ .Title }}</h3>
</a>
<p>{{ .Summary }}</p>
</article>
{{ end }}