{{ define "main" }}
{{ with .Params.banner }}

{{ .title | markdownify }}

{{ .subtitle | markdownify }}

{{ end }}
{{ with .Params.banner_button }} {{.label}} {{ end }}
{{ partial "image.html" (dict "Src" .Params.banner.image "Alt" "illustration") }}

{{ i18n `topics`}}

{{ range (where .Pages "Type" "docs") }}

{{ .Title }}

{{ i18n "details" }}
{{ end }}
{{ with .GetPage "/faq" }}

{{ .Title }}

{{ .Content }}
{{ end }} {{ if .Params.call_to_action.enable }} {{ with .Params.call_to_action }}
{{ partial "image.html" (dict "Src" .image "Alt" "icon") }}

{{ .title | markdownify }}

{{ .content | markdownify }}

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