{{ $emojis := dict "tip" ":bulb:" "note" ":page_with_curl:" "info" ":information_source:" "warning" ":warning:" "caution" ":exclamation:" "danger" ":bangbang:" }} {{ if eq .Type "alert" }}
{{ else }}{{ .Text }}{{ transform.Emojify (index $emojis .AlertType) }}
{{ with .AlertTitle }} {{ . }} {{ else }} {{ or (i18n .AlertType) (title .AlertType) }} {{ end }}
{{ .Text }}{{ end }}