{{ define "main" }} {{ range .Pages }}
{{ $thumbnail := .Resources.GetMatch "thumbnail.png" }} {{ $thumbimg := $thumbnail.Resize "250x" }}
{{ $image := .}} Thumbnail of {{ .Title }}

{{ .Title }}

{{ .Params.deployURL }}

{{ .Content }}
{{ end }} {{ end }}