smol/layouts/index.html
2019-07-30 13:40:48 -04:00

10 lines
287 B
HTML

{{ partial "header.html" . }}
<main>
{{ $paginator := .Paginate (where .Site.Pages "Type" "post") }}
{{ range $paginator.Pages }}
{{ partial "summary.html" . }}
{{ end }}
{{ partial "pagination.html" . }}
</main>
{{ partial "sidebar.html" . }}
{{ partial "footer.html" . }}