{% 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 %}
                    {% if project.start_date %}
                        from {{project.start_date}} 
                    {% endif %}
                    {% if project.end_date %}
                        until {{project.end_date}} 
                    {% endif %}