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

{{ .AlertTitle | default (.AlertType | strings.FirstUpper) }}

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