18 lines
400 B
HTML
18 lines
400 B
HTML
{{ define "main" }}
|
|
{{- partial "profile.html" }}
|
|
|
|
{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
|
{{- $paginator := .Paginate $pages }}
|
|
|
|
<section class="article-list">
|
|
{{ range $paginator.Pages }}
|
|
{{ .Render "summary"}}
|
|
{{ end }}
|
|
</section>
|
|
|
|
{{- if gt $paginator.TotalPages 1 }}
|
|
{{- partial "pagination.html" . -}}
|
|
{{- end }}
|
|
|
|
{{ end }}
|