{% for p in posts %}

<div class="entry">
    <div class="meta">{{ p[6] }} - {{ p[3] | timestamp }}<br /></div>
    {% if p[4] != '' %}
    <div class="content">
        <p>{{ p[4] | content | safe}}</p>
    </div>
    {% endif %}
    {% if p[5] != 'none' %}
    <img src="/{{ p[5] }}" />
    {% endif %}
    <div
        class="interactions"
        id="int-{{p[1]}}"
        hx-get="/entry/{{p[1]}}/interactions/none"
        hx-trigger="load"
    ></div>
</div>
<hr />

{% endfor %}

<div
    id="infinite-scroll-indicator"
    hx-get="/entry/feed/{{page+1}}"
    hx-trigger="revealed"
    hx-swap="outerHTML"
>
    <h2>Loading more...</h2>
</div>
