{% extends "base.html" %} {% block title %} Post {% endblock %} {% block page_content %} {# Should be the same as iframe.css (.card-body = body) #}
<Back to {{ data["board_info"]["bname"] }}
{#
#} {#
{{ data["board_info"]["bname"] }}
#}
{{ data['post_info']['title'] }}

Rank by: desc asc likes


{# Report post button #} {% if session['Uid'] and session['Uid'] == data.post_info['Uid'] %} {# Delete post trigger #} {# Delete post modal #} {% endif %} {# Post content #}

{{ data['post_info']['content']|safe }}

{# Comments #} {% if data['comments']|length > 0 %}
Comments:

{% else %}

Do Not Make the Poster Feel Lonely~

{% endif %} {% for comment in data['comments'] %}
{% if session['Uid'] and session['Uid'] == comment['Uid'] %} {# Delete comment trigger #} {# Delete comment modal #} {% endif %}
{{ comment['content']|safe }}
#{{ comment["floor"] }}
{# report button #}
Report
{# reply button #}
Reply
{% if not loop.last %}
{% endif %} {% endfor %}
{# Add comment #}
{# anchor for editor #}


{# Pagination #} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}