{% extends "base.html" %} {% block title %}{{ group.name }}{% endblock %} {% block content %}
{{ group.description }}
{% if current_user.is_authenticated and current_user not in group.members %} {% if group.visibility == 'public' or group.visibility == 'registered_only' %} {% elif group.visibility == 'invite_only' and group.allow_requests %} {% endif %} {% endif %}{{ post.content|safe }}
{% if post.image_url %} {% endif %}
Comments:
{% for comment in post.comments %} {% include 'comment.html' %} {% endfor %}