forked from CSWomenUMass/cswomenumass.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathofficers.html
41 lines (39 loc) · 1.44 KB
/
officers.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
---
layout: default
title: Officers
---
<!-- http://stackoverflow.com/questions/2245972/modulus-or-lack-thereof-in-rubys-liquid-templating-engine -->
<div class="container-fluid">
{% for officer in site.officers %}
{% if officer.publish and officer.name %}
{% cycle 'add row' : '<div class="row">', nil %}
<div class="col-md-6">
<img alt="{{ officer.name }}"
{% if officer.thumbnail %}
src="{{ officer.thumbnail }}"
{% else %}
src="{{ site.base_url }}/images/zena.jpg"
{% endif %}
style="float:left; width:180px; height:180px; border:solid; margin: 0 5px 0 0;" />
<ul style="list-style-type:none; width:100%">
<li><b><a href="{{ officer.webpage }}">{{ officer.name }}</a></b></li>
<li><b>{{ officer.title }}</b></li>
{% if officer.year %}
<li><i>{{ officer.year }} year in the {{ officer.program }} program</i></li>
{% endif %}
{% if officer.labpage %}
<li><a href="{{ officer.labpage }}"><span class="glyphicon glyphicon-briefcase" title="work" aria-hidden="true"></span> {{ officer.labname }}</a></li>
{% endif %}
{% if officer.email %}
<li><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> {{ officer.email }}</li>
{% endif %}
</ul>
<p>
{{ officer.content }}
</p>
</div>
{% cycle 'end row' : nil, '</div><br/><br/>' %}
{% endif %}
{% endfor %}
{% cycle 'end row' : nil, '</div>' %}
</div>