{% extends "base.html" %} {% from "_macros.html" import modal %} {% block extra_head %} {% endblock %} {% block content %}
← Back to Feed
{% set _user = author %}{% set _size = 40 %}{% set _size_class = "md" %}{% include "_avatar_link.html" %}
{% set _user = author %}{% set _class = "post-detail-author" %}{% include "_user_link.html" %} · Level {{ author.get('level', 1) if author else 1 }}
{{ dt_ago(post.created_at) if post.get('created_at') else time_ago }}
{{ post['topic'] }}
{% if post.get('title') %}

{{ render_title(post['title'], author_is_admin=is_admin(author)) }}

{% endif %} {% if maturity_hidden(maturity, user) %} {% set _level = maturity %}{% include "_maturity_gate.html" %} {% else %}
{{ render_content(post['content'], author_is_admin=is_admin(author)) }}
{% endif %} {% if project_link %} Project: {{ project_link.name }} {% endif %} {% if attachments %} {% include "_attachment_display.html" %} {% endif %} {% if poll %} {% set _poll = poll %}{% include "_poll.html" %} {% endif %} {% if war %} {% set _war = war %}{% include "_opinion_war.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" %} {% set _type = "post" %}{% set _uid = post['uid'] %}{% set _owner = post['user_uid'] %}{% set _owner_name = (author or {}).get('username', '') %}{% set _class = "post-action-btn" %}{% include "_report_button.html" %} {% if is_owner %} {% endif %} {% if is_owner or is_admin(user) %}
{% 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 %}