{{- if eq .Type "alert" -}}

{{ or .AlertTitle (title .AlertType) }}

{{ .Text }}
{{- else -}}
{{ .Text }}
{{- end -}}