-
Notifications
You must be signed in to change notification settings - Fork 1
/
people.html
136 lines (111 loc) · 4.05 KB
/
people.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
---
title: Our Team Members
permalink: /people/
---
{% assign people_sorted = site.people | sort: 'joined_date' %}
<h2>Professors</h2>
<div class="div professors pt-2 mb-2">
{% for person in people_sorted %}
{% if person.type == "professor" and person.left_date == null %}
<div class="row g-0">
<div class="col-lg-auto d-flex justify-content-center align-items-center">
<img src="{% include fix_link.html link=person.image %}" class=" object-fit-contain rounded"
alt="{{ person.name }}" height="250px">
</div>
<div class="col-lg d-flex flex-column">
<div class="d-felx px-3 mb-auto py-lg-1 py-2">
<span>{{ person.name }}</span>
<br> <small class="text-body-secondary">{{ person.title }} | Since {{ person.joined_date
| date: "%Y"}}</small>
<div class="mt-2 p-0">
{{ person.short_bio | markdownify | remove: '<p>' | remove: '</p>'}}
</div>
</div>
{% if person.links %}
<div class="d-flex px-3 justify-content-start gap-2 mt-2 mb-1">
<a class="btn btn-sm btn-light" data-bs-toggle="collapse" href="#collapseBio{{ person.name | slugify }}"
role="button" aria-expanded="false" aria-controls="collapseBio{{ person.name | slugify }}"><i
class="bi bi-chevron-right"></i> Bio </a>
{% for link in person.links %}
<a href="{{ link.url }}" target="_blank" class="btn btn-sm btn-light">{{ link.name }}</a>
{% endfor %}
</div>
{% endif %}
</div>
</div>
<div class="collapse mt-2" id="collapseBio{{ person.name | slugify }}">
<div class="card card-body text-bg-light">
{{ person.content }}
</div>
</div>
{% endif %}
{% endfor %}
</div>
<h2>Post-Docs</h2>
<div class="post-docs pt-2 pb-3">
<div class="row row-cols-1 row-cols-lg-2 g-4">
{% for person in people_sorted %}
{% if person.type == "post-doc" and person.left_date == null %}
<div class="col">
{% include person_vcard.html person=person %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
<h2>PhD Candidates</h2>
<div class="phd-students pt-2 pb-3">
<div class="row row-cols-1 row-cols-lg-2 g-4">
{% for person in people_sorted %}
{% if person.type == "phd-candidate" and person.left_date == null %}
<div class="col">
{% include person_vcard.html person=person %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
<h2>Research Assistants</h2>
<div class="engineers pt-2 pb-3">
<div class="row row-cols-1 row-cols-lg-2 g-4">
{% for person in people_sorted %}
{% if person.type == "engineer" and person.left_date == null %}
<div class="col">
{% include person_vcard.html person=person %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% assign people_sorted_by_leave = site.people | sort: 'left_date' | reverse %}
<hr>
<h1>Past Members</h1>
<div class="div past-members pt-2 mb-4">
{% for person in people_sorted_by_leave %}
{% if person.type != "phd-visitor" and person.type != "engineer" and person.left_date %}
<div class="mb-3">
{% include past_person_line.html person=person %}
</div>
{% endif %}
{% endfor %}
</div>
<h3>Past Visitors</h3>
<div class="div past-visitors pt-2 mb-4">
{% for person in people_sorted_by_leave %}
{% if person.type == "phd-visitor" and person.left_date %}
<div class="mb-3">
{% include past_person_line.html person=person %}
</div>
{% endif %}
{% endfor %}
</div>
<h3>Past Research Assistants</h3>
<div class="div past-engineers pt-2">
{% for person in people_sorted_by_leave %}
{% if person.type == "engineer" and person.left_date %}
<div class="mb-3">
{% include past_person_line.html person=person %}
</div>
{% endif %}
{% endfor %}
</div>