{{ define "main" }}
<main class="text-primary-800 dark:gray-400">
{{ if ( .Page.Params.hero.enable ) }}
    {{ partial "hero/index" .}}
{{ end }}
{{ if ( .Page.Params.rates.enable ) }}
    {{ if ( .Page.Params.rates.heading.enable ) }}
        {{ partial "rates/heading" .}}
    {{ end }}
    {{ partial "rates/rates" . }}
{{ end }}
{{ .Content }}
</main>
{{ end }}
