{{template "header" .}}
{{with .Post}}{{$img := theme_mod $ "hero_image"}}{{if not $img}}{{$img = .ThumbnailURL}}{{end}}
{{if $img}}{{end}}
{{with theme_mod $ "hero_label"}}

{{.}}

{{end}}

{{with theme_mod $ "hero_heading"}}{{.}}{{else}}{{$.Post.Title}}{{end}}

{{with theme_mod $ "hero_text"}}

{{.}}

{{end}} {{with theme_mod $ "hero_button_label"}}{{.}} {{end}}
{{.Content}}
{{with .EditLink}}{{end}}
{{end}}
{{template "footer" .}}