{{ 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 site.Pages "Type" "docs") }}

{{ .Title }}

{{ .Params.Description | markdownify }}

{{ end }}
{{ with site.GetPage "/faq" }}

{{ .Title }}

{{ .Content }}
{{ end }} {{ with .Params.call_to_action }} {{ if .enable }}
{{ partial "image.html" (dict "Src" .image "Alt" "call-to-action") }}

{{ .title | markdownify }}

{{ .content | markdownify }}

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