{{ define "main" }}
{{ $mainSections := .Site.Params.mainSections | default (slice "post") }} {{ $paginator := .Paginate ( where .Data.Pages "Section" "in" $mainSections ) }} {{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{- if eq $paginator.TotalNumberOfElements 0 }}
¯\_(ツ)_/¯

{{ T "empty_title" }}

{{ T "empty_text_start" | safeHTML }} ({{ delimit (apply $mainSections "printf" "content/%s" ".") ", " | safeHTML }}), {{ T "empty_text_end" }}.

{{ T "empty_tip" | safeHTML }}

{{- end }}
{{ partial "pagination.html" . }} {{ end }}