{{ define "main" }}
{{ .Title }}
{{ with .Params.subtitle }}
{{ . }}
{{end}}
{{ with resources.Get (index .Params.images 0) }}
{{ $image := .Fill (default "400x400" $.Params.image_size) }}