{% 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 %}

{{ topic.name }}

{% if sub_topics %}
{{ _('Sub-topics') }}
{% endif %} {% include "community/_community_nav.html" %} {% if post_layout == 'masonry' or post_layout == 'masonry_wide' %}
{% for post in posts.items %} {% include 'post/_post_teaser_masonry.html' %} {% else %}

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

{% endfor %}
{% else %}
{% for post in posts.items %} {% include 'post/_post_teaser.html' %} {% else %}

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

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