{% load lyric_extras %}
{# My Posts applet row — title | latest line text | latest line ts.       #}
{# `item` is a Post w. `latest_line` attached by `_recent_posts`.         #}
<li class="applet-list-entry row-3col">
    <a href="{{ item.get_absolute_url }}" class="row-title">{{ item.title|truncate_title }}</a>
    {% if item.latest_line %}
        {# `display_text` strips the `[<iso timestamp>] ` prefix that         #}
        {# TAX_LEDGER Lines carry to satisfy `unique_together = (post, text)` #}
        {# — the per-line `created_at` slot below already renders the user-   #}
        {# facing timestamp (user-spec 2026-05-26). Identity for other kinds. #}
        <span class="row-body">{{ item.latest_line.display_text|striptags }}</span>
        <time class="row-ts" datetime="{{ item.latest_line.created_at|date:'c' }}">{{ item.latest_line.created_at|relative_ts }}</time>
    {% endif %}
</li>
