24 lines
800 B
HTML
24 lines
800 B
HTML
{{ define "main" }}
|
|
{{ template "_internal/pagination.html" . }}
|
|
<section class="content posts h-feed hfeed">
|
|
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
|
|
<article class="h-entry">
|
|
<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 ></a>
|
|
</div>
|
|
{{ end }}
|
|
</article>
|
|
{{ end }}
|
|
</section>
|
|
{{ template "_internal/pagination.html" . }}
|
|
<h3>See Posts From</h3>
|
|
{{- partial "posts-by-year.html" . -}}
|
|
{{ end }}
|