-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeople.html
48 lines (47 loc) · 1.77 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
---
layout: page
title: People
permalink: /people/
tags: people
---
<div class="home">
{% for rank in site.people_ranks %}
{% assign counter = 0 %}
{% for person in site.data.people %}
{% if rank.keyword == person.rank %}
{% assign counter = counter | plus: 1 %}
{% endif %}
{% endfor %}
{% if counter > 0 %}
<h1 class="h3">{{ rank.display }}</h1>
<table class="people">
{% for person in site.data.people %}
{% if rank.keyword == person.rank %}
<tr>
<td width="105">
{% if person.home_url.size > 0 %}
{% if person.rank!='alumni' %}<a href="{{ person.home_url }}" class="people"><img src="{{ person.picture | default: '/images/people/default-white.png' }}" width="100" style="border-radius:15%;" /></a>{% endif %}</td>
<td><a href="{{ person.home_url }}" class="people">{{ person.name }}</a>
{% else %}
{% if person.rank!='alumni' %}<img src="{{ person.picture | default: '/images/people/default-white.png' }}" width="100" style="border-radius:15%;" />{% endif %}</td>
<td>{{ person.name }}
{% endif %}
{% if person.home_url.size > 0 %}
<a href="{{ person.home_url }}" class="people"><button class="btn"><i class="{{ site.people_buttons['home'] }}"></i> </button></a>
{% endif %}
{% for link in person.links %}
<a href="{{ link.url | default: '#' }}" class="people"><button class="btn"><i class="{{ site.people_buttons[link.type] }}"></i> </button></a>
{% endfor %}
{% if person.coadvisor.size > 0 %}
<span style="color:gray; font-size:small;">(Co-advised with {{ person.coadvisor }})</span>
{% endif %}
<br>
{{ person.description }}
</td>
</tr>
{% endif %}
{% endfor %}
</table>
{% endif %}
{% endfor %}
</div>