{{ define "main" }}
{{- with .Content }}
{{ . }}
{{- end }} {{- $mainSections := .Site.Params.mainSections }} {{- $paginator := .Paginate (where .Site.RegularPages "Type" "in" $mainSections) }} {{- if gt $paginator.TotalNumberOfElements 0 }}
{{- range $paginator.Pages }}
{{ .Render "summary" }}
{{- end }}
{{- end }} {{- if and (not .Site.Params.hideNoPostsWarning) (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 }}