summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/list.html
blob: 0908d281474e3d2a2c0e1870a0559496c27cdef2 (plain) (blame)
1
2
3
4
5
{{ 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 }}