{% extends "base.html" %} {% block title %}Status Detail{% endblock %} {% block content %} ← Back to statuses {# ── Main Post Card ──────────────────────────────────────────────── #}
{% if post.author_handle %} @{{ post.author_handle }} {% else %} {{ post.author_did }} {% endif %} {% if post.post_type == 'post' %} Post {% elif post.post_type == 'reply' %} Reply {% elif post.post_type == 'repost' %} Repost {% else %} {{ post.post_type }} {% endif %}
{{ post.created_at | format_dt }} ({{ post.created_at | time_ago }})
{# ── Reply context ───────────────────────────────────────────── #} {% if post.reply_parent %}
In reply to: {% if parent %} {% if parent.author_handle %}@{{ parent.author_handle }}{% else %}{{ parent.author_did[:30] }}...{% endif %} — {{ parent.text | truncate_text(120) }} {% else %} {{ post.reply_parent }} {% endif %}
{% endif %} {# ── Full post text ──────────────────────────────────────────── #}
{{ post.text }}
{# ── Engagement stats ────────────────────────────────────────── #}
Likes: {{ post.like_count | format_number }}
Replies: {{ post.reply_count | format_number }}
Reposts: {{ post.repost_count | format_number }}
Quotes: {{ post.quote_count | format_number }}
{# ── Additional metadata ─────────────────────────────────────── #}
{% if post.has_media %}Has media{% endif %} {% if post.has_embed %}Has embed{% endif %} {% if post.langs %}Language: {{ post.langs }}{% endif %}
{# ── External link ───────────────────────────────────────────── #} {% set bsky_url = bsky_post_url(post.uri, post.author_handle) %} {% if bsky_url %}
View on Bluesky →
{% endif %}
Indexed: {{ post.indexed_at | format_dt }} · Collected: {{ post.collected_at | format_dt }}
{# ── Replies Section ─────────────────────────────────────────────── #} {% if replies %}

Replies ({{ replies | length }})

{% for reply in replies %}
{% if reply.author_handle %} @{{ reply.author_handle }} {% else %} {{ reply.author_did[:30] }}... {% endif %} {{ reply.created_at | time_ago }}
{{ reply.text | truncate_text(300) }}
Likes: {{ reply.like_count | format_number }} · Replies: {{ reply.reply_count | format_number }} · Reposts: {{ reply.repost_count | format_number }}
{% endfor %} {% endif %} {# ── Raw JSON ────────────────────────────────────────────────────── #} {% if post.raw_json %}
Raw JSON
{{ post.raw_json | tojson(indent=2) }}
{% endif %} {% endblock %}