Skip to content

Commit

Permalink
Merge pull request #638 from rebeccacremona/fellows-to-affiliates
Browse files Browse the repository at this point in the history
Switch specific "Fellows" section to more generic "Affiliates" section.
  • Loading branch information
rebeccacremona authored Dec 2, 2024
2 parents b3ac577 + 5d52a14 commit 29524ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions app/_data/people.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ matteo-cargnelutti:
image: matteo-cargnelutti.jpg
affiliated: true
current: true
section: Fellows
section: Affiliates

jim-cowie:
name: Jim Cowie
Expand All @@ -252,7 +252,7 @@ jim-cowie:
image: jim-cowie.jpg
affiliated: true
current: true
section: Fellows
section: Affiliates

katy-ilonka-gero:
name: Katy Ilonka Gero
Expand All @@ -274,7 +274,7 @@ katy-ilonka-gero:
image: katy-ilonka-gero.jpg
affiliated: true
current: true
section: Fellows
section: Affiliates

maxwell-neely-cohen:
name: Maxwell Neely-Cohen
Expand All @@ -289,7 +289,7 @@ maxwell-neely-cohen:
image: maxwell-neely-cohen.jpg
affiliated: true
current: true
section: Fellows
section: Affiliates


# Former Fellows, and single-project collaborators
Expand Down
12 changes: 6 additions & 6 deletions app/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ <h2 class="h2 mt-12 mb-48 md:mb-72">People at the Lab</h2>
{% endfor %}
</div>
<div class="pt-48 md:pt-72 border-t-1 border-black">
<h2 class="h2">Fellows</h2>
<h2 class="h2">Affiliates</h2>
<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-32 md:gap-x-60 lg:gap-x-90 xl:gap-x-120">
{% assign fellows = site.data.people | where: "affiliated", true | sort: "sort_name" %}
{% assign sections = "Fellows" | split: ", " %}
{% assign affiliates = site.data.people | where: "affiliated", true | sort: "sort_name" %}
{% assign sections = "Affiliates" | split: ", " %}
{% for section in sections %}
{% assign fellows_people = fellows | where: "current", true | where: "section", section %}
{% if fellows_people != empty %}
{% for person in fellows_people %}
{% assign affiliated_people = affiliates | where: "current", true | where: "section", section %}
{% if affiliatated_people != empty %}
{% for person in affiliated_people %}
{% include about-people-affiliated.html person=person %}
{% endfor %}
{% endif %}
Expand Down

0 comments on commit 29524ac

Please sign in to comment.