{% 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 -%}
{% if community.header_image() != '' and not low_bandwidth -%}
Community icon

{{ community.title }} {% if current_user.is_authenticated -%} {% include 'community/_notification_toggle.html' -%} {% endif -%} {% if community.nsfw -%}nsfw{% endif -%} {% if community.nsfl -%}nsfl{% endif -%}

{% elif community.icon_id and not low_bandwidth -%}
Community icon

{{ community.title }} {% if current_user.is_authenticated -%} {% include 'community/_notification_toggle.html' -%} {% endif -%} {% if community.nsfw -%}nsfw{% endif -%} {% if community.nsfl -%}nsfl{% endif -%}

{% else -%}

{{ community.title }} {% if current_user.is_authenticated -%} {% include 'community/_notification_toggle.html' -%} {% endif -%} {% if community.nsfw -%}nsfw{% endif -%} {% if community.nsfl -%}nsfl{% endif -%}

{% endif -%} {% include "community/_community_nav.html" -%} {% if post_layout == 'masonry' or post_layout == 'masonry_wide' -%}
{% else -%}
{% for post in posts.items -%} {% include 'post/_post_teaser.html' -%} {% else -%}

{{ _('No posts in this community yet.') }}

{% endfor -%}
{% endif -%}
{% endblock -%}