Skip to content

Latest commit

 

History

History
163 lines (153 loc) · 6.2 KB

alumni.md

File metadata and controls

163 lines (153 loc) · 6.2 KB
layout title
default
alumni

{% assign faculty = site.data.people | where: 'position', 'faculty' %} {% assign staff = site.data.people | where: 'position', 'research_scientist' %} {% assign postdocs = site.data.people | where: 'position', 'postdoc' %} {% assign phd = site.data.people | where: 'position', 'phd' %} {% assign master = site.data.people | where: 'position', 'master' %} {% assign bachelor = site.data.people | where: 'position', 'bachelor' %} {% assign visiting = site.data.people | where: 'position', 'visiting' %}

{% assign faculty = faculty | where_exp: 'p', 'p.end != nil' %} {% assign staff = staff | where_exp: 'p', 'p.end != nil' %} {% assign postdocs = postdocs | where_exp: 'p', 'p.end != nil' %} {% assign phd = phd | where_exp: 'p', 'p.end != nil' %} {% assign master = master | where_exp: 'p', 'p.end != nil' %} {% assign bachelor = bachelor | where_exp: 'p', 'p.end != nil' %} {% assign visiting = visiting | where_exp: 'p', 'p.end != nil' %}

{% if faculty.size != 0 %}

Former Faculty

{% assign years = faculty | map: 'end' | uniq | sort | reverse %} {% for year in years %} {% assign f = faculty | where: 'end', year %} {% for p in f %}
{% if p.website %} {{ p.name }} {% else %} {{ p.name }} {% endif %}  {% if p.website %}{{ p.name }}{% else %}{{ p.name }}{% endif %} ({{ p.start }}–{{ p.end}}){% if p.now %}, {{ p. now }}{% endif %}
{% endfor %} {% endfor %} {% endif %}

{% if staff.size != 0 %}

Former Research Scientists

{% assign years = staff | map: 'end' | uniq | sort | reverse %} {% for year in years %} {% assign st = staff | where: 'end', year %} {% for p in st %}
{% if p.website %} {{ p.name }} {% else %} {{ p.name }} {% endif %}  {% if p.website %}{{ p.name }}{% else %}{{ p.name }}{% endif %} ({{ p.start }}–{{ p.end}}){% if p.now %}, {{ p. now }}{% endif %}
{% endfor %} {% endfor %} {% endif %}

{% if postdocs.size != 0 %}

Former Postdoctoral Researchers

{% assign years = postdocs | map: 'end' | uniq | sort | reverse %} {% for year in years %} {% assign pd = postdocs | where: 'end', year %} {% for p in pd %}
{% if p.website %} {% endif %} {{ p.name }} {% if p.website %} {% endif %}  {% if p.website %}{{ p.name }}{% else %}{{ p.name }}{% endif %} ({{ p.start }}–{{ p.end}}){% if p.now %}, {{ p. now }}{% endif %}
{% endfor %} {% endfor %} {% endif %}

{% if phd.size != 0 %}

Former Ph.D. Students

{% assign years = phd | map: 'end' | uniq | sort | reverse %} {% for year in years %} {% assign g = phd | where: 'end', year %} {% for p in g %}
{% if p.website %} {{ p.name }} {% else %} {{ p.name }} {% endif %}  {% if p.website %}{{ p.name }}{% else %}{{ p.name }}{% endif %} ({{ p.start }}–{{ p.end}}){% if p.now %}, {{ p. now }}{% endif %}
{% endfor %} {% endfor %} {% endif %}

{% if master.size != 0 %}

Former Masters Students

{% assign years = master | map: 'end' | uniq | sort | reverse %} {% for year in years %} {% assign g = master | where: 'end', year %} {% for p in g %}
{% if p.website %} {{ p.name }} {% else %} {{ p.name }} {% endif %}  {% if p.website %}{{ p.name }}{% else %}{{ p.name }}{% endif %} ({{ p.start }}–{{ p.end}}){% if p.now %}, {{ p. now }}{% endif %}
{% endfor %} {% endfor %} {% endif %}

{% if bachelor.size != 0 %}

Former Bachelors Students

{% assign years = bachelor | map: 'end' | uniq | sort | reverse %} {% for year in years %} {% assign g = bachelor | where: 'end', year %} {% for p in g %}
{% if p.website %} {{ p.name }} {% else %} {{ p.name }} {% endif %}  {% if p.website %}{{ p.name }}{% else %}{{ p.name }}{% endif %} ({{ p.start }}–{{ p.end}}){% if p.now %}, {{ p. now }}{% endif %}
{% endfor %} {% endfor %} {% endif %}

{% if visiting.size != 0 %}

Former Visiting Researchers

{% assign years = visiting | map: 'end' | uniq | sort | reverse %} {% for year in years %} {% assign pd = visiting | where: 'end', year %} {% for p in pd %}
{% if p.website %} {% endif %} {{ p.name }} {% if p.website %} {% endif %}  {% if p.website %}{{ p.name }}{% else %}{{ p.name }}{% endif %} ({{ p.start }}–{{ p.end}}){% if p.now %}, {{ p. now }}{% endif %}
{% endfor %} {% endfor %} {% endif %}