{{ define "main" }}
{{ .Content }}

{{ i18n .Title | markdownify }}

{{ $showFullContent := in .Site.Params.sectionsWithFullContentOnListPage .Section }} {{ $pages := where .Pages "Params.hidden" "!=" true}} {{ $pagesRange := $pages}} {{ if $showFullContent }} {{ $pagesRange = (.Paginate $pages).Pages }} {{ end}} {{ range $pagesRange }}

{{ trim .Title " " | markdownify }}

{{ partial "post-language-switcher.html" . }}
{{ if $showFullContent }} {{ .Content }} {{ end }} {{ partial "post-info.html" . }}
{{ end }} {{ if $showFullContent }} {{ partial "pagination.html" . }} {{ end}}
{{ end }}