{% comment %} Generates a list of projects. Expects 'projects' as an argument, representing the list of projects to show. {% endcomment %} {% for role in site.roles %} {% assign rollers = projects | where: "role", role.id %} {% if rollers.size > 0 %} {% endif %} {% endfor %}