Top Categories Standard Section
This is the list of the categories on the root level (the dashboard)
The Top Categories Section is a list of the main categories. Any other category inside the Knowledge Base will be inside these categories, that means that the Top Categories are the most important category type.
This is how you can display a list of all the Top Categories:
{% if roots_categories.size > 0 %} <h2>Popular Topics</h2> <ul id="categories"> {% for category in roots_categories %} <li class="category_item"> <a href="{{ category.url }}">{{ category.name }}</a> </li> {% endfor %} </ul> {% endif %}