{{ define "main" }}
<main class="">
{{ "<!-- Contact Section Start -->" | safeHTML }}

{{ if ( .Page.Params.header.enable ) }}
    {{ with .Page.Params.header }}
        {{ partial "contact/heading" . }}
    {{ end }}
{{ end }}

{{ if ( .Page.Params.form.enable ) }}
    {{ partial "contact/form" . }}
{{ end }}

{{ if ( .Page.Params.enable.about ) }}
    {{ partial "about.html" . }}
{{ end }}

{{ with .Page.Params.footer }}
    {{ if ( .enable ) }}
        {{ partial "footer/full" . }}
    {{ end }}
{{ end }}
</main>
{{ end }}