forked from cmudig/cmudig.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam.html
More file actions
62 lines (57 loc) · 2.24 KB
/
team.html
File metadata and controls
62 lines (57 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: page
title: Team
subtitle: People define this group. If you are a current student at CMU, you can apply to the lab via <a href="https://forms.gle/6tHMesK3Yv8tkYtv5">this form</a>. If you are interested in a PhD with us, <a href="https://dig.cmu.edu/2020/10/03/join-us.html">please apply to CMU</a>.
roles:
- Professor
- PhD Student
- Affiliated Professor
- Visiting PhD Student
- Masters Student
- Undergraduate Student
---
<h2>Current Members</h2>
<div class="flex flex-wrap">
{% for role in page.roles %}
{% for person in site.people %}
{% if person.role == role %}
{% unless person.alumni_since %}
<div class="w-25-m w-20-l w-50 ph2 pv2">
{% if person.website %}<a href="{{ person.website }}">{% endif %}
<span>
<img src="{{ person.image | relative_url }}" alt="Picture of {{ person.name }}" loading="lazy" class="br3" />
<span class="black">
{{ person.name }}
</span>
</span>
{% if person.website %}</a>{% endif %}
<div class="gray">({{ person.role }})</div>
</div>
{% endunless %}
{% endif %}
{% endfor %}
{% endfor %}
</div>
<h2>Past Members</h2>
<div class="mb4 flex flex-wrap">
{% assign alumni = site.people | where_exp: 'p', 'p.alumni_since' %}
{% assign sorted_alumni = alumni | sort: 'alumni_since' | reverse %}
<div class="flex flex-wrap">
{% for person in sorted_alumni %}
<div class="w-25-m w-10-l w-50 ph2 pv2">
{% if person.website %}<a href="{{ person.website }}">{% endif %}
<span title="{{person.name}} ({{person.role}})">
<img src="{{ person.image | relative_url }}" alt="Picture of {{ person.name }}" loading="lazy" class="br3" />
<span class="black">
{{ person.name }}
</span>
<span class="gray">
({{ person.alumni_since }})
</span>
</span>
{% if person.website %}</a>{% endif %}
</div>
{% endfor %}
</div>
</div>
You can find instructions for editing this list <a href="https://github.com/cmudig/cmudig.github.io/tree/master/_people#adding-a-person">in the repository for this website</a>.