-
Notifications
You must be signed in to change notification settings - Fork 2
/
team.html
61 lines (59 loc) · 2.3 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
layout: default
title: More Members | Kiran Foundation
---
<div class="darker">
<div class="container" style="padding: 20px 60px;">
<h2 class="editable brand3-txt">Volunteers</h2>
<div class="members">
<div class="row">
{% assign count = 0 %}
{% for member in site.members %}
{% if member.type == 'Volunteer' %}
<div class="col-sm-3 col-md-3">
<div class="member">
{% if member.more == true %}
<a href="{{ member.url }}"><div class="image" style="background-image: url({{ member.featured_image }})"></div></a>
{% else %}
<div class="image" style="background-image: url({{ member.featured_image }})"></div>
{% endif %}
<div class="member-content" align="center">
<h3><b>{{ member.title }}</b></h3>
<h3><b>{{ member.role }}</b></h3>
{% if member.media.email %}
<a href="{{ member.media.email }}" target="_blank">
<i class="fa fa-envelope" style="font-size:24px"></i>
</a>
{% endif %}
{% if member.media.linkedin %}
<a href="{{ member.media.linkedin }}" target="_blank">
<i class="fa fa-linkedin-square" style="font-size:24px"></i>
</a>
{% endif %}
{% if member.media.instagram %}
<a href="{{ member.media.instagram }}" target="_blank">
<i class="fa fa-instagram" style="font-size:24px"></i>
</a>
{% endif %}
{% if member.more == true %}
<p><a href="{{ member.url }}" class="btn">Read more</a></p>
{% endif %}
</div>
</div>
</div>
{% assign count = count | plus: 1 %}
{% if count == 4 %}
{% assign count = 0 %}
{% if forloop.last == false %}
<div class="row">
</div>
<br/>
<br/>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>