{% extends 'forum/master.twig' %} {% from 'macros.twig' import container_title %} {% from 'forum/macros.twig' import forum_category_listing %} {% set title = 'Forum Listing' %} {% set canonical_url = '/forum/' %} {% block content %} {% if not forum_empty %} {% for category in forum_categories %} {% if category.forum_children > 0 %} {{ forum_category_listing( category.forum_subforums, category.forum_name, category.forum_colour, category.forum_id == constant('MSZ_FORUM_ROOT') ? '' : 'f' ~ category.forum_id, category.forum_icon|default('') ) }} {% endif %} {% endfor %} {% if current_user is defined %}
{% endif %} {% else %}There are currently no visible forums.