ariadne.space/layouts/index.html

11 lines
269 B
HTML

{{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "blog") }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
<section rel="pagination">
{{ template "_internal/pagination.html" . }}
</section>
{{ end }}