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

23 lines
746 B
HTML
Raw Normal View History

2023-04-17 22:49:08 +00:00
{{ define "main" }}
<div id="content" class="posts h-feed hfeed">
2023-04-17 23:45:29 +00:00
<h1>Blog</h1>
2023-04-17 22:49:08 +00:00
{{ template "_internal/pagination.html" . }}
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
<p class="h-entry">
<h3><a class="title u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<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...</a>
</div>
{{ end }}
</p>
{{ end }}
{{ template "_internal/pagination.html" . }}
</div>
{{ end }}