{% if type == "note" %}
Note
{% elif type == "hint" %}
Hint
{% elif type == "info" %}
Info
{% elif type == "warn" %}
Warning!
{% elif type == "error" %}
Oops!
{% endif %}
{{ message }}