{{ title }}
{% for forum in forum.forums %} {% if forum.type == 1 %} {% if forum.forums|length and forum.perms.view %}
{% if forum.type != 1 %} Subforums {% else %} {{ forum.name }} {% endif %}
{% for forum in forum.forums %} {% include 'forum/elements/forumEntry.twig' %} {% endfor %} {% endif %} {% else %} {% include 'forum/elements/forumEntry.twig' %} {% endif %} {% endfor %}
{% if not forum.type and forum.id > 0 %} {% set topics = forum.topics|batch(25) %} {% set pagination_pages = topics %} {% set pagination_url %}{{ route('forums.forum', forum.id) }}{% endset %} {% include 'forum/elements/forumBtns.twig' %} {% if forum.topics %} {% for topic in topics[get.page|default(1) - 1] %} {% include 'forum/elements/topicEntry.twig' %} {% endfor %} {% else %}

There are no posts in this forum!

{% endif %} {% include 'forum/elements/forumBtns.twig' %} {% endif %}