-
Notifications
You must be signed in to change notification settings - Fork 0
/
team.html
45 lines (40 loc) · 1.39 KB
/
team.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
---
layout: default
title: People
---
<div class="container support" style="margin-top: 10px;">
<div class="row" style="padding-top: 20px">
<div class="col-lg-12">
<h2>People</h2>
{% assign people = site.people | sort: 'ranking' %}
{% for person in people %}
{% assign loopindex = forloop.index | modulo: 2 %}
{% if loopindex == 1 %}
<div class="row">
<div class="col-xs-12 col-sm-6 member">
<img src="images/people/{{ person.image }}">
<div class="member-info">
<p><span class="name">{{ person.title }}</span><br>
<p><span class="institution">{{ person.institution }}</span><br>
</p>
</div>
</div>
{% else %}
<div class="col-xs-12 col-sm-6 member">
<img src="images/people/{{ person.image }}">
<div class="member-info">
<p><span class="name">{{ person.title }}</span><br>
<p><span class="institution">{{ person.institution }}</span><br>
</p>
</div>
</div>
</div>
{% endif %}
{% endfor %}
{% assign val = people.size | modulo: 2 %}
{% if val == 1 %}
</div>
{% endif %}
</div>
</div>
</div>