forked from theodi/wdaqua
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpeople.html
84 lines (81 loc) · 2.59 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
---
redirect_from:
- /supervisors-and-students/
- /advisory-board/
- /advisors/
- /students/
- /supervisors/
layout: default
---
<div class='container' id="students">
<div class="page-header">
<h1>Students</h1>
</div>
<div class='row'>
{% for student in site.students %}
<div class="person col-lg-4 col-sm-6 text-center">
<a href="{{student.url}}">
{% if student.image %}
<img class="img-circle img-responsive img-center" src="{{site.baseurl}}/assets/images/students/{{student.image}}" alt="">
{% else %}
<img class="img-circle img-responsive img-center" src="{{site.baseurl}}/assets/images/person.png" alt="">
{% endif %}
<h3>{{ student.name }}</h3>
<p>{{ student.project }}</p>
</a>
</div>
{% endfor %}
</div>
</div>
<div class='container' id="supervisors">
<div class="page-header">
<h1>Supervisors</h1>
</div>
<div class='row'>
{% for supervisor in site.supervisors %}
<div class="person col-lg-4 col-sm-6 text-center">
<a href="{{supervisor.url}}">
{% if supervisor.image %}
<img class="img-circle img-responsive img-center" src="{{site.baseurl}}/assets/images/supervisors/{{supervisor.image}}" alt="">
{% else %}
<img class="img-circle img-responsive img-center" src="{{site.baseurl}}/assets/images/person.png" alt="">
{% endif %}
<h3>{{ supervisor.name }}</h3>
<p>{{ supervisor.role }}</p>
</a>
</div>
{% endfor %}
</div>
</div>
<div class='container' id="advisors">
<div class="page-header">
<h1>Advisors</h1>
</div>
<div class='row'>
{% for advisor in site.advisors %}
{% capture advisor-html %}
{% if advisor.image %}
<img class="img-circle img-responsive img-center" src="{{site.baseurl}}/assets/images/advisors/{{advisor.image}}" alt="">
{% else %}
<img class="img-circle img-responsive img-center" src="{{site.baseurl}}/assets/images/person.png" alt="">
{% endif %}
<h3>{{ advisor.name }}</h3>
<p>{{ advisor.role }}</p>
<p>{{ advisor.institution }}</p>
{% endcapture %}
<div class="person col-lg-4 col-sm-6 text-center">
{% if advisor.homepage %}
<a href="{{advisor.homepage}}">
{{ advisor-html }}
</a>
{% elsif advisor.content.size > 20 %}
<a href="{{advisor.url}}">
{{ advisor-html }}
</a>
{% else %}
{{ advisor-html }}
{% endif %}
</div>
{% endfor %}
</div>
</div>