{% set active_class = 'bg-warning' if project.main_config.get_subproject(inpath=item.path) else '' %} {% if item.type == 'folder' %}
  • {{ item.name }} {% if project.main_config.get_subproject(inpath=item.path) %} {% else %} {% endif %} {{ item.children.count }}
    {% for child in item.children.list %} {% with item=child %} {% endwith %} {% endfor %}
  • {% else %} {% endif %}