-
Notifications
You must be signed in to change notification settings - Fork 48
/
team.html
87 lines (80 loc) · 3.23 KB
/
team.html
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
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
- Visiting Student
- Masters Student
- Undergraduate Student
- High School Student
- Visiting Researcher
- Affiliated Researcher
---
<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 %}
{% assign content = person.content | strip_html | strip_newlines %}
<span{% if content != '' %} title="Fun fact: {{ content }}"{% 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>PhD Alumni</h2>
<div class="mb4 flex flex-wrap">
{% assign phd_alumni = site.people | where_exp: 'p', 'p.phd_graduate' %}
{% assign sorted_phd_alumni = phd_alumni | sort: 'alumni_since' | reverse %}
{% for person in sorted_phd_alumni %}
<div class="w-25-m w-20-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>
<h2>Past Members</h2>
<div class="mb4 flex flex-wrap">
{% assign alumni = site.people | where_exp: 'p', 'p.alumni_since and p.phd_graduate == blank' %}
{% assign sorted_alumni = alumni | sort: 'alumni_since' | reverse %}
{% 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>
You can find instructions for editing this list <a href="https:/cmudig/cmudig.github.io/tree/main/_people#adding-a-person">in the repository for this website</a>.