hacker.tours-website/themes/zen/layouts/index.html

16 lines
352 B
HTML
Raw Normal View History

2024-06-13 22:14:05 +02:00
{{ define "title" }}{{ site.Title }}{{ end }}
{{ define "main" -}}
<main class="main layout__main">
{{ .Content }}
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections -}}
{{ $paginator := .Paginate $pages -}}
{{ range $paginator.Pages -}}
{{ .Render "summary" }}
{{ end -}}
{{ partial "pagination.html" . }}
</main>
{{ end -}}