Skip to content

Commit

Permalink
read additional alumni from file
Browse files Browse the repository at this point in the history
  • Loading branch information
christofgehrig committed Dec 19, 2024
1 parent a2bdb60 commit eb2ea4f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions _data/alumni-list.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- name: Fahimeh Moafian
role: postdoc

- name: Moritz Sturm
role: master
15 changes: 11 additions & 4 deletions team/alumni/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ title: Alumni

This is an incomplete list of people who have worked with us in the past. A more comprehensive list will follow soon.


{% assign alumni = site["members"] | default: emptyarray | data_filter: "status: alumni" %}
{% assign alumni = alumni | concat: site.data.alumni-list %}
{% assign alumni = alumni | sort: "name" %}

Name | Role
---- | ----
{% assign data = site["members"] | default: emptyarray | data_filter: "status: alumni" -%}
{% for member in data -%}
{% for member in alumni -%}
{% assign role = site.data.types[member.role].description -%}
[{{member.name}}]({{member.url}}) | {{role}}
{% if member.url -%}
[{{member.name}}]({{member.url}}) | {{role}}
{% else -%}
{{member.name}} | {{role}}
{% endif -%}
{% endfor -%}
Fahimeh Moafian | Postdoctoral Researcher

0 comments on commit eb2ea4f

Please sign in to comment.