{% for h in header %} {{ h }}{% if not loop.last %}{{ sep }}{% endif %} {% endfor %} {% if header|length == data|first|length %} {% for user in data %} {% for d in user %}{{ d|raw }}{% if not loop.last %}{{ sep }}{% endif %}{% endfor %} {% endfor %} {% endif %}