forked from wis-delft/wis-delft.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeople.html
21 lines (19 loc) · 823 Bytes
/
people.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
layout: default_style
title: Team
---
<section class="services-section section-global-wrapper">
<div class="container">
<div class="row justify-content-center">
<div class="services-header">
<h2 class="services-header-title">Our {{page.title}}</h2>
</div>
</div>
<!-- Filter the members based on the "filter" field, which represents the role (phd student, prof etc)-->
<!-- The result is an array of objects with the following keys: name = filter number (0, 1, 2 etc), -->
<!-- items = the members as objects (all the fields from the .md files in the _people folder) and-->
<!-- size = the number of items -->
{% assign grouped_people = site.people | group_by: "filter" | sort: "name" %}
{% include filter-people.html members=grouped_people %}
</div>
</section>