#{{ $index+1 }}

{{{ $post['body_html'] }}}

{% if $post['attachment_count'] > 0 %}
Attachments ({{ $post['attachment_count'] }}){% foreach $post['attachments'] as $attachment %}{% if $attachment['file_exists'] %}📎 {{ $attachment['original_name'] }}{{ round($attachment['file_size']/1024,1) }} KB · {{ $attachment['download_count'] }} downloads{% else %}
⚠ {{ $attachment['original_name'] }}The stored file is missing.
{% endif %}{% endforeach %}
{% endif %}{% if $post['edited_at'] %}
Edited {{ date('M j, Y · g:i A',strtotime($post['edited_at'])) }}{% if $post['edit_reason'] %} · {{ $post['edit_reason'] }}{% endif %}
{% endif %}
{% if $isQuestion && $topic['solved_post_id']==$post['id'] %}
✓ Accepted answer
{% endif %}{% if $isQuestion && $canMarkSolution && $post['id']!=$posts[0]['id'] %}
{% endif %}{% if $post['reactions'] %}
{% foreach $post['reactions'] as $reaction %}{{ ucfirst($reaction['reaction_type']) }} {{ $reaction['reaction_count'] }}{% endforeach %}
{% endif %}
{% if $currentUser %}{% foreach ['like'=>'♡ Like','helpful'=>'✓ Helpful','thanks'=>'★ Thanks','funny'=>'☺ Funny'] as $reactionKey=>$reactionLabel %}
{% endforeach %}{% endif %}
{% if $post['can_edit'] %}Edit{% endif %}{% if $post['revision_count'] %}History ({{ $post['revision_count'] }}){% endif %}{% if $canModerate %}
{% endif %}