{{ .Description }}
{{ else if .Summary }} {{ if hasPrefix .Summary "" }} {{ .Summary }} {{ else }}
{{ .Summary }}
{{ end }} {{ else if .Content }}{{ .Content }}
{{ else if $image }} {{ $i := (.Resources.GetMatch $image).Permalink }} {{ end }}{{ $title := .title }} {{ $p := .pages }} {{ if and (.limit) (not .paginate) }} {{ $p = first .limit .pages }} {{ end }} {{ $paginator := .pages }} {{ if .paginate }} {{ $paginator = .context.Paginate $p }} {{ $p = $paginator.Pages }} {{ end }} {{ if $p }}
{{ .Description }}
{{ else if .Summary }} {{ if hasPrefix .Summary "" }} {{ .Summary }} {{ else }}
{{ .Summary }}
{{ end }} {{ else if .Content }}{{ .Content }}
{{ else if $image }} {{ $i := (.Resources.GetMatch $image).Permalink }} {{ end }}