{{ define "main" }} {{ with .Params.banner }} {{ end }} {{ with .Params.feature }} {{ if .enable }}

{{ .title | markdownify }}

{{ range .feature_item }}

{{ .name | title }}

{{ .content | markdownify }}

{{ end }}
{{ end }} {{ end }} {{ with .Params.service }} {{ if .enable }} {{ range $i,$p := .service_item }} {{if modBool $i 2}}

{{ .title | markdownify }}

{{ .content | markdownify }}

{{ if .button.enable }} {{ with .button }} {{ .label }} {{ end }} {{ end }}
{{ range .images }} {{ end }}
{{ else }}
{{ range .images }} {{ end }}

{{ .title | markdownify }}

{{ .content | markdownify }}

{{ if .button.enable }} {{ with .button }} {{ .label }} {{ end }} {{ end }}
{{ end }} {{ end }} {{ end }} {{ end }} {{ with .Params.screenshot }} {{ if .enable }}

{{ .title | markdownify }}

{{ with .image }} {{ end }}
{{ end }} {{ end }} {{ with .Params.call_to_action }} {{ if .enable }}

{{ .title | markdownify }}

{{with .content }}

{{ . | markdownify }}

{{ end }} {{ if .button.enable }} {{ with .button }} {{ .label }} {{ end }} {{ end }}
{{ end }} {{ end }} {{ end }}