forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteam.html
111 lines (111 loc) · 2.86 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
layout: page
title: The DSG Team
---
<div id="dsg_team" class="container">
<div class="row">
<h2>Professors</h2>
{% for member in site.team %}
{% if member.type == 'professor' %}
<div class="col-md-2 col-sm-4 col-xs-6 member">
<div class="avatar"
{% if member.avatar %}
style="background-image:url('{{member.avatar}}')"
{% else %}
style="background-image:url('{{ site.baseurl }}/images/dsg_social.jpg')"
{% endif %}
>
</div>
<div class="info">
<h2>{{ member.title }}</h2>
<a class="btn btn-danger btn-block"
href="{{ site.baseurl }}{{ member.url }}">
More
</a>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class="row">
<h2>Students</h2>
</div>
<div class="row">
<h3>Currently Active</h3>
{% for member in site.team %}
{% if member.type == 'student' %}
{% if member.status == 'active' %}
<div class="col-md-2 col-sm-4 col-xs-6 member">
<div class="avatar"
{% if member.avatar %}
style="background-image:url('{{member.avatar}}')"
{% else %}
style="background-image:url('{{ site.baseurl }}/images/dsg_social.jpg')"
{% endif %}
>
</div>
<div class="info">
<h2>{{ member.title }}</h2>
<a class="btn btn-primary btn-block"
href="{{ site.baseurl }}{{ member.url }}">
More
</a>
</div>
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class="row">
<h3>Old members</h3>
{% for member in site.team %}
{% if member.type == 'student' %}
{% if member.status == 'legacy' %}
<div class="col-md-2 col-sm-4 col-xs-6 member">
<div class="avatar"
{% if member.avatar %}
style="background-image:url('{{member.avatar}}')"
{% else %}
style="background-image:url('{{ site.baseurl }}/images/dsg_social.jpg')"
{% endif %}
>
</div>
<div class="info">
<h2>{{ member.title }}</h2>
<a class="btn btn-warning btn-block"
href="{{ site.baseurl }}{{ member.url }}">
More
</a>
</div>
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class="row">
<h3>Colleagues</h3>
{% for member in site.team %}
{% if member.type == 'student' %}
{% if member.status == 'colleague' %}
<div class="col-md-2 col-sm-4 col-xs-6 member">
<div class="avatar"
{% if member.avatar %}
style="background-image:url('{{member.avatar}}')"
{% else %}
style="background-image:url('{{ site.baseurl }}/images/dsg_social.jpg')"
{% endif %}
>
</div>
<div class="info">
<h2>{{ member.title }}</h2>
<a class="btn btn-success btn-block"
href="{{ site.baseurl }}{{ member.url }}">
More
</a>
</div>
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>