2018-05-23 06:37:31 +00:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<div class="main">
|
|
|
|
<div class="cards">
|
|
|
|
{{ $mainSections := .Site.Params.mainSections | default (slice "post") }}
|
|
|
|
{{ $paginator := .Paginate ( where .Data.Pages "Section" "in" $mainSections ) }}
|
|
|
|
{{ range $paginator.Pages }}
|
2018-05-27 06:58:52 +00:00
|
|
|
<div class="card{{ if $.Param "cardsPerRow" }} card--{{ $.Param "cardsPerRow" }}col{{ else }} card--2col{{ end }}">
|
2018-05-23 06:37:31 +00:00
|
|
|
{{ .Render "summary" }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|