{% extends "base.html" %} {% from "_macros.html" import modal %} {% block extra_head %} {% endblock %} {% block content %}
← Back to Feed
{{ author['username'] if author else '?' }}
{% set _user = author %}{% set _class = "post-detail-author" %}{% include "_user_link.html" %} {% if is_admin(user) and author and author.get('role') %} · {{ author['role'] }} {% endif %}
{{ time_ago }}
{{ post['topic'] }}
{% if post.get('title') %}

{{ post['title'] }}

{% endif %}
{{ post['content'] }}
{% if attachments %} {% include "_attachment_display.html" %} {% endif %} {% if poll %} {% set _poll = poll %}{% include "_poll.html" %} {% endif %}
{% set _uid = post['uid'] %}{% set _my_vote = my_vote %}{% set _count = post.get('stars', 0) %}{% include "_post_votes.html" %} {% set _type = "post" %}{% set _uid = post['uid'] %}{% set _reactions = reactions %}{% include "_reaction_bar.html" %} {% set _type = "post" %}{% set _uid = post['uid'] %}{% set _bookmarked = bookmarked %}{% include "_bookmark_button.html" %} {% if is_owner %}
{% endif %}
{% if is_owner %} {% call modal('edit-post-modal', 'Edit Post') %}
{% set _topics = topics %}{% set _selected = post['topic'] %}{% include "_topic_selector.html" %}
{% include "_attachment_form.html" %} {% if not poll %}
{% endif %}
{% endcall %} {% endif %} {% with target_uid=post['uid'], target_type="post" %} {% include "_comment_section.html" %} {% endwith %} {% if related_posts %} {% endif %}
{% endblock %}