{% extends 'base/base.html' %} {% import 'components/avatar.html' as avatar with context %} {% import 'input/textbox.html' as textbox with context %} {% import 'blog/macros.html' as blog with context %} {% block body %} {{ icon_defs('comment-empty') }}
{% for file in files_data %} {% if file.type == C.FILE_TYPE_FILE %}
{% if file.comments_url is defined %} {% if file.comments_count %} {{file.comments_count}}  {% endif %} {{ icon('comment-empty', cls='icon is-small') }} {% endif %}
{{ blog.show_items(file.comments, expanded=true, dates_fmt='relative') }}
{{- textbox.comment_or_login(service=file.comments_service, node=file.comments_node) -}}
{% endif %} {% endfor %}
{% endblock body %}