{% if file.mime_type[:5] == 'video' %}
{% else %} {{file.name}} {% endif %}
{% if file.affiliation == 'owner' %}
{{ icon('trash-empty', cls='icon is-small') }}
{% endif %}
{% if file.comments_url is defined %} {% if file.comments_count %} {{file.comments_count}}  {% endif %} {{ icon('comment-empty', cls='icon is-small') }} {% endif %}
{% if uploading %} 0% {% else %}
{% if file.comments %} {{ blog.show_items(file.comments['items'], expanded=true, dates_fmt='relative') }} {% endif %}
{{- textbox.comment_or_login(service=file.comments_service, node=file.comments_node) -}}
{% endif %}