{{ $ := .root }} {{ $page := .page }} {{ $autolink := default true $page.Params.autolink }}

{{ with $page.Title }}{{ . | markdownify }}{{ end }}

{{ with $page.Params.subtitle }}

{{ . | markdownify }}

{{ end }}
{{ with $page.Content }}

{{ . | markdownify }}

{{ end }}
{{ if $page.Params.email_form }} {{ $post_action := "" }} {{ if eq $page.Params.email_form 1 }} {{ $post_action = "netlify" }} {{ else }} {{ if not site.Params.email }} {{ errorf "Please set an email address for the contact form using the `email` parameter in `config.toml`. Otherwise, set `email_form = 0` to disable the contact form." }} {{ end }} {{ $post_action = printf "action=\"https://formspree.io/%s\"" site.Params.email }} {{end}}
{{end}}
{{ if site.Params.map }}
{{ end }}