{{ if and .amount (or .paginator .pages) }} {{ $amount := .amount }} {{ $pages := "" }} {{ if .pages }} {{ $pages = .pages.ByLastmod.Reverse }} {{ else if .paginator }} {{ $pages = .paginator.Pages.ByLastmod.Reverse }} {{ end }} {{ if .content }} {{ partial "snippets/content" (dict "content" .content) }} {{ end }} {{- if gt (len $pages) 0 -}} {{ if .title }}

{{ .title }}

{{ end }} {{- range first $amount $pages -}}

{{- .Title -}}

{{ partial "layout/single/article" (dict "context" . "type" "list" "pic" "true") }}
{{ end }} {{ end }} {{ end }}