hugo-stanley/layouts/index.html

6 lines
256 B
HTML
Raw Normal View History

2020-03-03 18:56:59 +01:00
{{- define "main" -}}
{{- partial "homepage-body.html" . -}}
{{- $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) -}}
{{- partial "note-list.html" $paginator -}}
{{- partial "pagination.html" $paginator -}}
{{- end -}}