{{ define "main" }}
{{ with .Title }}

{{ . }}

{{ end }} {{ if not .Params.nometa }}{{ partial "list_meta" . }}{{ end }} {{ with .Content }}{{ . }}{{ end }} {{ $photoSections := (.Site.Param "photoSections" | default (slice "posts")) }} {{ $paginator := .Paginate ( where ( where .Site.RegularPages "Type" "in" $photoSections ) "Params.images" "!=" nil ) 5 }} {{ range $paginator.Pages }} {{ .Render "photosummary" }} {{ end }} {{ if (.Param "authorbox") }}{{ partialCached "authorbox" . }}{{ end }}
{{ partial "pagination" . }} {{ end }}