zelda-planted/themes/zen/layouts/_default/list.html

12 lines
247 B
HTML
Raw Normal View History

2020-10-15 04:39:37 +00:00
{{ define "main" -}}
<main class="main layout__main">
<h1 class="title">{{ .Title }}</h1>
{{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}}
{{ .Render "summary"}}
{{ end -}}
{{ partial "pagination.html" . }}
</main>
{{ end }}