Files
assilvestrar-blog/layouts/index.html
lourenco ebac930fed
All checks were successful
Hugo deploy / retrieve-and-execute (push) Successful in 0s
tweaks to the theme
2025-09-14 11:14:58 +02:00

22 lines
569 B
HTML

{{ define "main" }}
{{ .Content }}
<div class="post-list">
{{ range (where .Site.RegularPages "Section" "posts") }}
<article class="post-preview">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<div class="post-meta">
<span>{{ partial "date" .Date }}</span>
</div>
<div class="post-summary">
{{ .Summary | plainify }}
</div>
<div class="read-more">
<a href="{{ .RelPermalink }}">Read more →</a>
</div>
</article>
{{ end }}
</div>
{{ end }}