{% extends "base.html" %} {% from 'bootstrap/form.html' import render_form %} {% block app_content %}
{% if post.image_id %}

{{ post.title }}

{% if post.url %}

{{ post.url|shorten_url }} {% if post.type == post_type_link %} (domain) {% endif %}

{% endif %}

submitted {{ moment(post.posted_at).fromNow() }} by {{ post.author.user_name }}

{% if post.url %} {{ post.image.alt_text }} {% else %} {{ post.image.alt_text }} {% endif %}
{% else %}

{{ post.title }}

{% if post.url %}

{{ post.url|shorten_url }} External link {% if post.type == post_type_link %} (domain) {% endif %}

{% endif %}

submitted {{ moment(post.posted_at).fromNow() }} by {{ post.author.user_name }}

{% endif %}
{% if post.body_html %}
{{ post.body_html|safe }}

{% endif %} {% if post.comments_enabled %}
{{ render_form(form) }}

{% else %}

{{ _('Comments are disabled for this post.') }}

{% endif %}
{% if current_user.is_authenticated and current_user.subscribed(post.community) %} {{ _('Unsubscribe') }} {% else %} {{ _('Subscribe') }} {% endif %}

{{ _('About community') }}

{{ post.community.description|safe }}

{{ post.community.rules|safe }}

{% if len(mods) > 0 and not post.community.private_mods %}

Moderators

    {% for mod in mods %}
  1. {{ mod.user_name }}
  2. {% endfor %}
{% endif %}
{% if is_moderator %}

{{ _('Community Settings') }}

{% endif %}
{% endblock %}