{% if comments[parent_id] %} {% for comment in comments[parent_id] %} {# The id="" is used as anchor #}