{{ define "main" }} {{ if .Params.heroSection }} {{ $heroSection := .Params.heroSection }}

{{ $heroSection.title | safeHTML }}

{{ $heroSection.description | safeHTML }}

{{ $heroSection.title | plainify }}
{{ end }} {{ if .Params.customersSection }} {{ $customersSection := .Params.customersSection }}

{{ $customersSection.title | safeHTML }}

{{ $customers := sort $customersSection.customers "weight" "asc" }} {{ partial "marquee.html" (dict "context" $customers "marqueeClass" "ml-marquee") }}
{{ end }} {{ if .Params.featuresSection }} {{ $featuresSection := .Params.featuresSection }}

{{ $featuresSection.title | safeHTML }}

{{ if $featuresSection.subtitle }}

{{ $featuresSection.subtitle | safeHTML }}

{{ end }}
{{ range $featuresSection.features }}
{{ .title | plainify }}

{{ .title | safeHTML }}

{{ .text | safeHTML }}

{{ end }}
{{ $featuresSection.button.text }}
{{ end }}
{{ if .Params.marketplaceSection}} {{ $marketplace := .Params.marketplaceSection }}

{{ $marketplace.title }}

{{ range $marketplace.buttons }} {{ .name | plainify }} {{ end }}
{{ end }} {{ if .Params.bannerSection}} {{ $banner := .Params.bannerSection }}

{{ $banner.title | safeHTML }}

{{ $banner.button.text }}
{{ end }} {{end}}