yequari.com/themes/saturn/layouts/blog/list.html

21 lines
696 B
HTML
Raw Normal View History

2023-08-12 10:44:17 +00:00
{{ define "main" }}
<section class="content posts h-feed hfeed">
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
2023-09-12 23:48:39 +00:00
<article class="h-entry">
2023-08-12 10:44:17 +00:00
<h2><a class="title u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<time class="dt-published" datetime="{{ .PublishDate }}">{{ .PublishDate.Format "Mon, Jan 2, 2006" }}</time>
{{ partial "tags.html" .}}
<p class="summary">
{{ .Summary }}
</p>
{{ if .Truncated }}
<div>
<a href="{{ .RelPermalink }}">Read More &gt;</a>
2023-08-12 10:44:17 +00:00
</div>
{{ end }}
2023-09-12 23:48:39 +00:00
</article>
2023-08-12 10:44:17 +00:00
{{ end }}
{{ template "_internal/pagination.html" . }}
</section>
{{ end }}