17 lines
285 B
HTML
17 lines
285 B
HTML
{{ define "main" -}}
|
|
<main class="main layout__main">
|
|
<header>
|
|
<h1 class="title">{{ .Title }}</h1>
|
|
</header>
|
|
|
|
{{ .Content }}
|
|
|
|
{{ $paginator := .Paginate (.Pages) -}}
|
|
{{ range $paginator.Pages -}}
|
|
{{ .Render "summary" }}
|
|
{{ end -}}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
</main>
|
|
{{ end -}}
|