{% set au = authors_map.get(p.author_id) %}
{% if au %}{{ au.full_name or au.username }}{% endif %}
· {{ p.created_at|msk_strftime('%d.%m.%Y %H:%M') }}
{% if perms.can_edit_any_post or (perms.can_edit_own_posts and p.author_id == user_id) %}
{% endif %}
{% if p.body %}
{{ p.body }}
{% endif %}
{% if attachments_by_post.get(p.id) %}
{% for a in attachments_by_post.get(p.id) %}
{% set f = files_map.get(a.file_id) %}
{% if f %}
{% if f.original_name|is_image %}