{% macro render_comment(item, depth=0) %}
{{ item.votes.up - item.votes.down }}
{% set _user = item.author %}{% set _size = 32 %}{% set _size_class = "sm" %}{% include "_avatar_link.html" %} {% set _user = item.author %}{% set _class = "comment-author" %}{% include "_user_link.html" %} {{ item.time_ago }}
{{ item.comment['content'] }}
{% set attachments = item.get('attachments', []) %} {% if attachments %} {% include "_attachment_display.html" %} {% endif %}
{% if owns(item.comment, user) %}
{% endif %} {% set _type = "comment" %}{% set _uid = item.comment['uid'] %}{% set _reactions = item.reactions %}{% include "_reaction_bar.html" %}
{% if item.children %}
{% for child in item.children %} {{ render_comment(child, depth + 1) }} {% endfor %}
{% endif %}
{% endmacro %}