{% set active_class = 'bg-warning' if project.main_config.get_subproject(inpath=item.path) else '' %} {% if item.type == 'folder' %}