{% import "macros.txt.j2" as macros with context %}
{% for result in results -%}
{% if result.message %}
{{ result.message }}
{% else %}
{% call macros.header(loop) %}Query{% endcall -%}
Query: {{ result.query }}
{% include "stats.txt.j2" %}
{% endif %}
{% endfor %}
