{% extends "root.html" %} {% block head %} {{ community.context.display_name }} - {{ config.name }} {% endblock %} {% block body %} {{ macros::nav() }}
{{ components::community_banner(id=community.id, community=community) }}
{{ components::community_avatar(id=community.id, community=community, size="72px") }}

{% if community.context.display_name -%} {{ community.context.display_name }} {% else %} {{ community.title }} {%- endif %} {% if community.context.is_nsfw -%} {{ icon "square-asterisk" }} {%- endif %}

{% if user -%} {% if user.id != community.owner %} {%- endif %} {%- endif %}
{{ community.title }}
{% if user -%}
{% if not is_owner -%} {% if not is_joined -%} {% if not is_pending %} {% else %} {%- endif %} {% else %} {{ icon "message-circle" }} {{ text "communities:label.chats" }} {% if user and can_post -%} {{ icon "plus" }} {{ text "general:action.post" }} {%- endif %} {%- endif %} {% else %} {{ icon "message-circle" }} {{ text "communities:label.chats" }} {{ icon "plus" }} {{ text "general:action.post" }} {%- endif %} {% if can_manage_community or is_manager -%} {{ icon "settings" }} {{ text "communities:action.configure" }} {%- endif %}
{%- endif %}
{{ community.context.description|markdown|safe }}
ID
Created {{ community.created }}
Score
{{ community.likes - community.dislikes }} {% if user -%}
{{ components::likes(id=community.id, asset_type="Community", likes=community.likes, dislikes=community.dislikes) }}
{%- endif %}
{% if can_read -%} {% block content %}{% endblock %} {% else %}
{{ icon "frown" }} {{ text "communities:label.not_allowed_to_read" }}
{{ text "communities:label.might_need_to_join" }}
{%- endif %}
{% endblock %}