{% for comment in comments %} {% set index = ( index | default(0) ) + 1 %}

{{ comment.user.login }}
{{ comment.date|date('Y-m-d H:i:s') }}

{% endfor %}