All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 41s
- 6 new routes: following list, followers list, actor timeline (each with HTMX infinite-scroll page endpoint) - 4 new templates: following.html, followers.html, _actor_list_items.html, actor_timeline.html - Nav links for Following/Followers in base.html - Follow/unfollow redirects back to referrer page - Timeline items template handles actor timeline type - Update shared submodule Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
569 B
HTML
19 lines
569 B
HTML
{% for item in items %}
|
|
{% include "federation/_post_card.html" %}
|
|
{% endfor %}
|
|
|
|
{% if items %}
|
|
{% set last = items[-1] %}
|
|
{% if timeline_type == "actor" %}
|
|
<div hx-get="{{ url_for('social.actor_timeline_page', id=actor_id, before=last.published.isoformat()) }}"
|
|
hx-trigger="revealed"
|
|
hx-swap="outerHTML">
|
|
</div>
|
|
{% else %}
|
|
<div hx-get="{{ url_for('social.' ~ timeline_type ~ '_timeline_page', before=last.published.isoformat()) }}"
|
|
hx-trigger="revealed"
|
|
hx-swap="outerHTML">
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|