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