Skip to content

Commit d13a5ee

Browse files
authored
Update team.md
1 parent 7f06383 commit d13a5ee

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

_pages/team.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,38 @@ Jump to [Principal Investigator](#principal-investigator), [Postdoctoral fellows
4444
{% endif %}
4545

4646
## Postdoctoral fellows
47+
{% assign number_printed = 0 %}
48+
{% for member in site.data.team_members %}
49+
50+
{% assign even_odd = number_printed | modulo: 2 %}
51+
52+
{% if even_odd == 0 %}
53+
<div class="row">
54+
{% endif %}
55+
56+
<div class="col-sm-12 clearfix">
57+
<img src="{{ site.url }}{{ site.baseurl }}/images/teampic/{{ member.photo }}" class="img-responsive" width="15%" style="float: left" />
58+
<h4>{{ member.name }}</h4>
59+
<i>{{ member.info }} <!--<br>email: <{{ member.email }}></i> -->
60+
<p>{{ member.bio }}</p>
61+
62+
</div>
63+
64+
{% assign number_printed = number_printed | plus: 1 %}
65+
66+
{% if even_odd == 1 %}
67+
</div>
68+
{% endif %}
69+
70+
{% endfor %}
71+
72+
{% assign even_odd = number_printed | modulo: 2 %}
73+
{% if even_odd == 1 %}
74+
</div>
75+
{% endif %}
76+
77+
78+
4779
## PhD students
4880
## MSc students
4981
## Research Assistants

0 commit comments

Comments
 (0)