{{ define "main" }}
  <section class="mb-8">
    <div class="container flex flex-col items-center">
      <div class="mb-6 text-center">
        <h1>{{ .Params.Title }}</h1>
        {{ with .Params.Subtitle }}
          <h4>{{ . }}</h4>
        {{ end }}
      </div>

      {{ if .Params.main_image }}
        <div>
          {{ partial "image" (dict "Src" .Params.main_image "Context" .Page "Alt" .Title "Class" "") }}
        </div>
      {{ end }}

      <div class="content">
        {{ .Content }}
        {{ partial "components/contact.html" . }}
      </div>

    </div>
  </section>
{{ end }}
