24 lines
708 B
HTML
24 lines
708 B
HTML
<div class="post">
|
|
<span class="action">
|
|
{% include "action_reply_post.html" %}
|
|
{% include "action_like_post.html" %}
|
|
{% include "action_boost_post.html" %}
|
|
{% include "action_open_post.html" %}
|
|
</span>
|
|
{% if post.summary %}
|
|
<details>
|
|
<summary>{{ post.summary }}</summary>
|
|
{{ post.safe_content_local }}
|
|
</details>
|
|
{% else %}
|
|
{{ post.safe_content_local }}
|
|
{% endif %}
|
|
{% for attachment in post.attachments.all %}
|
|
<a href="{{ attachment.full_url.relative }}" class="download">
|
|
<div>
|
|
<i class="fa-solid fa-download"></i> {{ attachment.file_display_name }}
|
|
</div>
|
|
</a>
|
|
{% endfor %}
|
|
<div id="replies_{{ post.pk }}"></div>
|
|
</div>
|