12 lines
427 B
HTML
12 lines
427 B
HTML
{{ define "main" }}
|
|
<main class="h-feed">
|
|
{{ with .Content }}{{ . }}{{ end }}
|
|
{{ $postSections := ($.Param "postSections" | default (slice "posts")) }}
|
|
{{ $paginator := .Paginate ( where .Site.RegularPages "Type" "in" $postSections ) }}
|
|
{{ range $paginator.Pages }}
|
|
{{ .Render "summary" }}
|
|
{{ end }}
|
|
{{ partial "pagination" . }}
|
|
{{ if (.Param "authorbox") }}{{ partialCached "authorbox" . }}{{ end }}
|
|
</main>
|
|
{{ end }} |