blob: 8cc2549138cd62b34675404c59d322fcd7b4ff50 (
plain) (
blame)
1
2
3
4
|
{{ define "main" }} <h1>{{ .Title }}</h1>
<ul>{{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Section" "posts") }}{{ range $paginator.Pages }}
<li><h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li>{{ end }}
</ul>{{ partial "pagination.html" $ }}{{ end }}
|