Skip to content

Latest commit

 

History

History
65 lines (60 loc) · 2.03 KB

members.md

File metadata and controls

65 lines (60 loc) · 2.03 KB
layout title permalink
page_select
/people/

{% assign people_sorted = site.people | sort: 'joined' %} {% assign people_array = "pi|postdoc|gradstudent|engineer|alumni" | split: "|" %}

{% assign people_valid = '' | split: '' %} {% for item in people_array %} {% assign listpeople = '' | split: '' %} {% for profile in people_sorted %} {% if profile.position contains item %} {% assign listpeople = listpeople | push: profile %} {% endif %} {% endfor %} {% assign people_valid = people_valid | push: listpeople %} {% endfor %}

{% assign i = 0 %} {% for item in people_array %} {% assign listpeople = people_valid[i] %} {% assign i = i | plus: 1 %} {% if listpeople.size > 0 %}
{% if item == 'postdoc' %}

Postdoctoral Fellows

{% elsif item == 'pi' %}

Principal Investigators

{% elsif item == 'gradstudent' %}

PhD Students

{% elsif item == 'engineer' %}

Research Engineers

{% elsif item == 'visiting' %}

Visiting Scholars

{% elsif item == 'alumni' %}

Alumni

{% endif %}
{% for profile in listpeople %} {% endfor %}

{% endif %} {% endfor %}