{{ define "main" }}
{{ range where .Site.Pages "Kind" "page" }} {{ if ne .Params.Exclude true }}
{{ if (or .Params.Image .CurrentSection.Params.Image) }} {{ .Title }} {{ end }}
{{ title .Section }}

{{ .Title }}

{{ .Params.Subtitle }}

{{ end }} {{ end }}
{{ end }}