This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
2019-09-03 15:50:00 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<main class="main list">
|
|
|
|
{{- with .Content }}
|
|
|
|
<div class="main-content">
|
|
|
|
{{ . }}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
2019-12-31 08:09:33 +00:00
|
|
|
{{- $postSections := ($.Param "postSections" | default (slice "posts")) }}
|
|
|
|
{{- $paginator := .Paginate ( where .Site.RegularPages "Type" "in" $postSections ) }}
|
2019-09-03 15:50:00 +00:00
|
|
|
{{- range $paginator.Pages }}
|
|
|
|
{{- .Render "summary" }}
|
|
|
|
{{- end }}
|
2020-04-12 08:24:35 +00:00
|
|
|
{{ if (.Param "authorbox") }}{{ partialCached "authorbox" . }}{{ end }}
|
2019-09-03 15:50:00 +00:00
|
|
|
</main>
|
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
{{ end }}
|