Top Categories Standard Section

This is the list of the categories on the root level (the dashboard)


Written By Guilherme de Andrade Arantes (Administrator)

Updated at October 21st, 2017

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 }}">{{ }}</a>
  {% endfor %}
{% endif %}

Was this article helpful?