Skip to content

Commit fa7afaa

Browse files
committed
Maybe better alumni rendering?
1 parent 441693f commit fa7afaa

2 files changed

Lines changed: 7 additions & 44 deletions

File tree

_data/alumni_members.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,6 @@
66
number_educ: 0
77
education1: Ph.D., The University of Sydney.
88

9-
# - name: Eloisa Perez-Bennetts
10-
# photo:
11-
# info: Honours Student 2020
12-
# email:
13-
# duration: Group member 2020
14-
# number_educ: 0
15-
# education1:
16-
17-
# - name: Pok Him Siu
18-
# photo:
19-
# info: Honours Student 2020
20-
# email:
21-
# duration: Group member 2020
22-
# number_educ: 0
23-
# education1:
24-
259

2610
# - name: Gijsbert Verdoes
2711
# photo: verdoes.jpg

_pages/team.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -136,49 +136,28 @@ We are always looking for new Honours, Masters, and PhD students to [join the te
136136

137137
# Alumni
138138

139-
### Postdoctoral researchers
139+
<!-- Postdocs -->
140140

141-
{% assign number_printed = 0 %}
142-
{% for member in site.data.alumni_members %}
143-
144-
{% assign even_odd = number_printed | modulo: 2 %}
145-
146-
{% if even_odd == 0 %}
147141
<div class="row">
148-
{% endif %}
149-
150142
<div class="col-sm-6 clearfix">
151-
<img src="{{ site.url }}{{ site.baseurl }}/images/teampic/{{ member.photo }}" class="img-responsive" width="25%" style="float: left" />
152-
<h4>{{ member.name }}</h4>
153-
<i>{{ member.duration }} <br>{{ member.info }}</i>
154-
<ul style="overflow: hidden">
155-
</ul>
156-
</div>
157-
158-
{% assign number_printed = number_printed | plus: 1 %}
159-
160-
{% if even_odd == 1 %}
161-
</div>
162-
{% endif %}
163-
143+
<h4>Postdoctoral researchers</h4>
144+
{% for member in site.data.alumni_members %}
145+
{{ member.name }}
164146
{% endfor %}
165-
166-
{% assign even_odd = number_printed | modulo: 2 %}
167-
{% if even_odd == 1 %}
168147
</div>
169-
{% endif %}
170148

171-
<!-- ### Honours students -->
149+
<!-- Students -->
172150

173151
<div class="row">
174-
175152
<div class="col-sm-6 clearfix">
176153
<h4>Students</h4>
177154
{% for member in site.data.alumni_msc %}
178155
{{ member.name }}
179156
{% endfor %}
180157
</div>
181158

159+
<!-- Visitors -->
160+
<div class="row">
182161
<div class="col-sm-6 clearfix">
183162
<h4>Visitors</h4>
184163
{% for member in site.data.alumni_visitors %}

0 commit comments

Comments
 (0)