{%- for msg in messages -%} {%- if msg.type != 'debug' or debug %}
{{ msg.msg }}
{%- endif -%} {%- endfor -%}