Skip to content

Latest commit

 

History

History
66 lines (61 loc) · 2.04 KB

members.md

File metadata and controls

66 lines (61 loc) · 2.04 KB
layout title permalink
page_select
/people/

{% assign people_sorted = site.people | sort: 'joined' | reverse %} {% assign people_array = "pi|engineer|postdoc|gradstudent|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 %}