{% extends "misago/base.html" %} {% load i18n misago_shorthands %} {% block title %} {% if is_index %} {% if misago_settings.forum_index_title %} {{ misago_settings.forum_index_title }} {% else %} {{ misago_settings.forum_name }} {% endif %} {% else %} {% trans "Categories" %} | {{ block.super }} {% endif %} {% endblock title %} {% block meta-description %} {% if is_index and misago_settings.forum_index_meta_description %} {{ misago_settings.forum_index_meta_description }} {% endif %} {% endblock meta-description %} {% block content %}
{% if categories %}
{% for category in categories %} {% include "misago/categories/category.html" with category=category %} {% endfor %}
{% else %}
info_outline

{% trans "No categories are available." %}

{% trans "No categories are currently defined or you don't have permission to see them." %}

{% endif %}
{% endblock content %}