hackertours/layouts/_default/list-bytitle.html

17 lines
293 B
HTML
Raw Permalink Normal View History

2024-11-17 10:56:55 +01:00
{{ 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 -}}