{{ define "main" }}

{{ .Title }}

{{ .Content }}
{{ range (.Paginator 20).Pages }} {{template "showcase_items" .}} {{ end }}
The Showcase articles are copyright the content authors. Any open source license will be attached.
{{ end }} {{define "showcase_items"}}
{{ $img := (.Resources.ByType "image").GetMatch "*featured*" }} {{ with $img }} {{ $big := .Fill "1024x512 top" }} {{ $small := $big.Resize "512x" }} {{end}}
{{/* the margin aligns to the bottom */}}

{{- .Title -}}

{{end}}