{% import "components/tree_macros.html.twig" as tree %}


<div class="nav flex-column">
    {% for item in settings_instance('sidebar').items %}
        {{ tree.treeview_sidebar('sidebar-panel-' ~ loop.index, item.value) }}
        <div class="mb-2"></div>
    {% endfor %}
</div>