-
Notifications
You must be signed in to change notification settings - Fork 0
/
people.html
106 lines (91 loc) · 3.24 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
---
title: People
layout: default
---
{% assign sorted_people = (site.people | sort: "dates.start") %}
{% assign sorted_phd = (site.people | sort: "dates.phd_end" | reverse ) %}
{% assign sorted_alumni = (site.people | sort: "dates.end" | reverse ) %}
{% assign sorted_rotation = (site.people | sort: "dates.end" | reverse ) %}
<br>
<div class = "people">
<ul class = "list">
{% for person in sorted_people %}
{% if person.publish and person.status == 'current'%}
<li class="item">
<center>
{% if person.picture %}
<a href="{{person.url}}"><img class="image" src="/assets/people/{{ person.picture }}" height="240px"></a>
{% else %}
<img src="/assets/people/placeholder.png" height="240px" width="190px">
{% endif %}
<a href="{{person.url}}"><h3><u> {{ person.name }} </u></h3></a>
<p><b><i> {{ person.position }} </i></b> <br /></p>
</li>
{% cycle 'close rows': '', '', '', '</ul><br><ul class = "list">' %}
{% endif %}
{% endfor %}
</ul>
</div>
<br><br>
<div class="Nheader">Lab Ph.D. Alumni</div><br>
<div class = "people">
<ul class = "list">
{% for person in sorted_phd %}
{% if person.publish and person.status == 'phd_alumni' or person.status == 'current' and person.dates.phd_end %}
<li class="item">
<center>
{% if person.picture %}
<a href="{{person.url}}"><img class="image" src="/assets/people/{{ person.picture }}" height="240px"></a>
{% else %}
<img src="/assets/people/placeholder.png" height="240px" width="190px">
{% endif %}
<a href="{{person.url}}"><h3><u> {{ person.name }} </u></h3></a>
<p><b><i> Doctoral Student </i></b> <br /></p>
</li>
{% cycle 'close phdalumni rows': '', '', '', '</ul><br><ul class = "list">' %}
{% endif %}
{% endfor %}
</ul>
</div>
<br><br>
<div class="Nheader">Other Lab Alumni</div><br>
<div class = "people">
<ul class = "list">
{% for person in sorted_alumni %}
{% if person.publish and person.status == 'alumni'%}
<li class="item">
<center>
{% if person.picture %}
<a href="{{person.url}}"><img class="image" src="/assets/people/{{ person.picture }}" height="240px"></a>
{% else %}
<img src="/assets/people/placeholder.png" height="240px" width="190px">
{% endif %}
<a href="{{person.url}}"><h3><u> {{ person.name }} </u></h3></a>
<p><b><i> {{ person.position }} </i></b> <br /></p>
</li>
{% cycle 'close alumni rows': '', '', '', '</ul><br><ul class = "list">' %}
{% endif %}
{% endfor %}
</ul>
</div>
<br><br>
<div class="Nheader">Past Rotation Students</div><br>
<div class = "people">
<ul class = "list">
{% for person in sorted_rotation %}
{% if person.publish and person.status == 'rotation'%}
<li class="item">
<center>
{% if person.picture %}
<a href="{{person.url}}"><img class="image" src="/assets/people/{{ person.picture }}" height="240px"></a>
{% else %}
<img src="/assets/people/placeholder.png" height="240px" width="190px">
{% endif %}
<a href="{{person.url}}"><h3><u> {{ person.name }} </u></h3></a>
<p><b><i> {{ person.position }} </i></b> <br /></p>
</li>
{% cycle 'close rotation rows': '', '', '', '</ul><br><ul class = "list">' %}
{% endif %}
{% endfor %}
</ul>
</div>