{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') -%} {% extends 'themes/' + theme() + '/base.html' -%} {% else -%} {% extends "base.html" -%} {% endif -%} -%} {% from 'bootstrap/form.html' import render_form -%} {% block app_content -%}
{% include 'post/_post_full.html' -%} {% if post.comments_enabled -%} {% if current_user.is_authenticated -%} {% if current_user.verified -%}

{% if post.community.ap_id and '@beehaw.org' in post.community.ap_id -%}

{{ _('This post is hosted on beehaw.org which has higher standards of behaviour than most places. Be nice.') }}

{% endif -%} {% if post.community.posting_warning -%}

{{ post.community.posting_warning|safe }}

{% endif -%} {{ render_form(form) }} {% if not low_bandwidth -%} {% if markdown_editor -%} {% else -%} {% endif -%} {% endif -%}
{% if replies -%}
{% endif -%}
{% else -%}

{{ _('Verify your email address to comment') }}

{% endif -%} {% else -%}

{{ _('Log in to comment') }}

{% endif -%} {% else -%}

{{ _('Comments are disabled.') }}

{% endif -%} {% if replies -%}

{{ post.reply_count }} {{ _('Comments') }}

{% for reply in replies -%} {% with post_reply=reply['comment'], children=reply['replies'] %} {% include 'post/_post_reply_teaser.html' %} {% endwith %} {% endfor -%}
{% endif -%}
{% with community = post.community -%} {% include "_side_pane.html" %} {% endwith -%}
{% endblock -%}