Skip to content

Commit c5d02da

Browse files
committed
Rework our teams page
1 parent 8bc3c09 commit c5d02da

File tree

3 files changed

+48
-15
lines changed

3 files changed

+48
-15
lines changed

_data/contributors.yml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,44 @@
1+
################################################################################
2+
# LEADS #
3+
################################################################################
4+
15
- name: David J Lange
26
info: Research Staff
37
photo: Lange.png
48
59
education: PhD Physics, University of California, Santa Barbara (1999).
10+
org: Princeton/CERN
611
active: 1
12+
lead: 1
713

814
- name: Vassil Vassilev
915
info: Research Staff
1016
photo: Vassilev.jpg
1117
1218
education: PhD Computer Science, University of Plovdiv "Paisii Hilendarski", Plovdiv, Bulgaria (2015).
1319
www: "https://vassil.vassilev.info"
14-
github: ""
15-
linkedin: ""
20+
github: "https://github.com/vgvassilev"
21+
linkedin: "https://www.linkedin.com/in/vgvassilev/"
22+
org: Princeton/CERN
1623
active: 1
24+
lead: 1
25+
26+
################################################################################
27+
# ASSOCIATED #
28+
################################################################################
1729

1830
- name: Alexander Penev
1931
info: Assoc. Prof.
2032
photo: Penev.png
2133
22-
education: PhD Computer Science, University of Plovdiv Paisii Hilendarski, Plovdiv, Bulgaria (2013)
34+
education: PhD Computer Science, University of Plovdiv "Paisii Hilendarski", Plovdiv, Bulgaria (2013)
2335
active: 1
36+
associated: 1
37+
org: University of Plovdiv "Paisii Hilendarski"
38+
39+
################################################################################
40+
# TEAM #
41+
################################################################################
2442

2543
- name: Aaron Jomy
2644
photo: Aaron.jpg

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
{% include head.html %}
55

_pages/team.md

+26-11
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ sitemap: false
66
permalink: /team/
77
---
88

9-
# Group Members
10-
119
<div class="clearfix">
1210

1311
{% assign members = site.data.contributors %}
@@ -18,22 +16,36 @@ permalink: /team/
1816
{% assign even_odd = even_odd | plus: 1 | modulo: 2 %}
1917
{% assign previndex0 = forloop.index0 | minus: 1 %}
2018

21-
{% if member.active == nil and members[previndex0].active == 1 %}
22-
23-
</div>
19+
{% assign needs_break = false %}
2420

25-
{% assign even_odd = 0 %}
21+
{% if member.lead == nil and members[previndex0].lead == 1 %}
22+
{% assign needs_break = true %}
23+
{% assign kind = "Associated" %}
24+
{% endif %}
2625

27-
<hr />
26+
{% if member.associated == nil and members[previndex0].associated == 1 %}
27+
{% assign needs_break = true %}
28+
{% assign kind = "Team" %}
29+
{% endif %}
2830

29-
### Alumni
31+
{% if member.active == nil and members[previndex0].active == 1 %}
32+
{% assign needs_break = true %}
33+
{% assign kind = "Alumni" %}
34+
{% endif %}
3035

31-
{% endif %}
36+
{% if needs_break %}
37+
{% if even_odd == 1 %}
38+
</div>
39+
{% endif %}
3240

41+
<hr />
42+
### {{ kind }}
3343

34-
{% if even_odd == 0 %}
44+
{% assign even_odd = 0 %}
3545
<div class="row">
36-
{% endif %}
46+
{% elsif even_odd == 0 %}
47+
<div class="row">
48+
{% endif %}
3749

3850
<div class="col-sm-6 clearfix">
3951
{% if member.photo %}
@@ -56,6 +68,9 @@ permalink: /team/
5668
{% if member.education %}
5769
<p> <strong>Education:</strong> {{ member.education }} </p>
5870
{% endif %}
71+
{% if member.org %}
72+
<p> <strong>Institution:</strong> {{ member.org }} </p>
73+
{% endif %}
5974
</div>
6075

6176
{% if even_odd == 1 %}

0 commit comments

Comments
 (0)