abdullahtarawneh.com/layouts/shortcodes/index/latest-posts.html
a 2247ee2776 June 2024 redesign (#1)
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already.

Reviewed-on: #1
2024-06-03 23:22:36 +00:00

8 lines
No EOL
208 B
HTML

{{ range first ( or (.Get 0) 5 ) (where .Site.RegularPages "Section" "blog") }}
<article class="h-entry">
<a href="{{ .Permalink }}">
<h3>{{ .Title }}</h3>
</a>
<p>{{ .Summary }}</p>
</article>
{{ end }}