-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeople.html
88 lines (73 loc) · 2.03 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
---
layout: default
title: Group members
---
{% assign staff = site.people | where: "group", "staff" %}
{% assign phd = site.people | where: "group", "phd" %}
{% assign affiliated = site.people | where: "group", "affiliated" %}
{% assign alumni = site.people | where: "group", "alumni" %}
{% assign former = site.people | where: "group", "former" %}
<h1>Group members</h1>
{% if staff and staff.size != 0 %}
<h2>Staff</h2>
<table class="people">
{% tablerow person in staff cols:3%}
{% if person.photo and person.photo != "" %}
<img src="{{ person.photo }}" class="photo">
{% endif %}
<p>
<a href="{{ person.url }}">{{ person.name }}</a><br/>
<i>{{ person.position }}</i>
</p>
{% endtablerow %}
</table>
{% endif %}
{% if phd and phd.size != 0 %}
<h2>Phd Students</h2>
<table class="people">
{% tablerow person in phd cols:3%}
{% if person.photo and person.photo != "" %}
<img src="{{ person.photo }}" class="photo">
{% endif %}
<p>
<a href="{{ person.url }}">{{ person.name }}</a>
</p>
{% endtablerow %}
</table>
{% endif %}
{% if affiliated and affiliated.size != 0 %}
<h2>Affiliated members</h2>
<table class="people">
{% tablerow person in affiliates cols:3%}
{% if person.photo and person.photo != "" %}
<img src="{{ person.photo }}" class="photo">
{% endif %}
<p>
<a href="{{ person.url }}">{{ person.name }}</a>
</p>
{% endtablerow %}
</table>
{% endif %}
{% if alumni and alumni.size != 0 %}
<h2>Alumni</h2>
<table class="people">
{% tablerow person in alumni cols:3%}
{% if person.photo and person.photo != "" %}
<img src="{{ person.photo }}" class="photo">
{% endif %}
<p>
<a href="{{ person.url }}">{{ person.name }}</a>
</p>
{% endtablerow %}
</table>
{% endif %}
{% if former and former.size != 0 %}
<h2>Former members</h2>
<ul>
{% for person in former %}
<li>
<a href="{{ person.url }}">{{ person.name }}</a> (<i>{{ person.position }}</i>)
</li>
{% endfor %}
<ul/>
{% endif %}