layout | title | permalink |
---|---|---|
page_select |
/people/ |
{% assign people_sorted = site.people | sort: 'joined' %} {% assign people_array = "pi|postdoc|gradstudent|engineer|alumni" | split: "|" %}
{% for item in people_array %}
{% if item == 'postdoc' %}
{% elsif item == 'pi' %}
{% elsif item == 'gradstudent' %}
{% elsif item == 'engineer' %}
{% elsif item == 'visiting' %}
{% elsif item == 'alumni' %}
{% endif %}
{% for profile in people_sorted %}
{% if profile.position contains item %}
{% endif %}
{% endfor %}
{% if profile.site %} {% endif %} {{profile.name}} {% if profile.desc %} - {{profile.desc}} {% endif %} {% if profile.site %} {% endif %}
{% endfor %}