-
Notifications
You must be signed in to change notification settings - Fork 8
/
team.html
46 lines (41 loc) · 2.05 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
46
---
layout: page
title: Team
header: Team
---
<div class="row">
{% for member in site.data.team %}
<div class="col-md-4 mb-3 mb-md-0">
<!-- <div class="card py-4 h-100"> -->
<!-- <div class="card-body text-center"> -->
<div class="text-center">
{% if member.picture %}
<img class="img-circle img-responsive img-center committee" src={{ member.picture }} alt="">
{% else %}
<img class="img-circle img-responsive img-center committee" src="/img/people/anonymous.png" alt="">
{% endif %}
<h4 class="">{{ member.name }}</h4>
<div class="small">{{ member.role }}</div>
<hr class="my-2">
<div class="row w-50 mx-auto mb-2 justify-content-center">
{% assign contacts = "email, twitter, github, linkedin, facebook" | split: ", "%}
{% assign icons = "fas fa-envelope, fab fa-twitter, fab fa-github, fab fa-linkedin, fab fa-facebook" | split: ", " %}
{% for thing in member %}
{% if thing[0] == contacts[0] %} <!--email-->
<div class="col-3"><a href={{ "mailto:" | append: thing[1] }}><i class="{{ icons[0] }} text-primary mb-2"></i></a></div>
{% endif %}
{% for i in (1..4) %} <!--other contacts-->
{% if thing[0] == contacts[i] %}
<div class="col-3"><a href={{ thing[1] }}><i class="{{ icons[i] }} text-primary mb-2"></i></a></div>
{% endif %}
{% endfor %}
{% endfor %}
<!-- <div class="col-4"><a href={{ i.url }}><i class="fas fa-envelope text-primary mb-2"></i></a></div> -->
<!-- <div class="col-4"><a href={{ member.twitter }}><i class="fab fa-twitter text-primary mb-2"></i></a></div> -->
<!-- <div class="col-4"><a href={{ member.github }}><i class="fab fa-github text-primary mb-2"></i></a></div> -->
</div>
</div>
<!-- </div> -->
</div>
{% endfor %}
</div>