{{ $emojis := dict "caution" "🚨" "important" "â˜ī¸" "note" "â„šī¸" "tip" "💡" "warning" "âš ī¸" "announcement" "đŸ“Ŗ" }} {{ if eq .Type "alert" }}
{{ with .AlertTitle }} {{.}} {{ else }} {{ index $emojis .AlertType }} {{ end }}
{{ .Text }}
{{ else }}
{{ .Text }}
{{ end }}