Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display a list of former members on the people page #772

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pages/_people/SaharFrikha.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ id: SaharFrikha
first-name: Sahar
last-name: Frikha
collection: people
former: true
affiliation: Institut Français de Bioinformatique (IFB), Nantes, France
homepage: https://www.linkedin.com/in/sahar-frikha/
github_username: sahar-frikha
orcid: 0000-0003-3757-0878
---
---
14 changes: 14 additions & 0 deletions pages/_people/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,23 @@ <h1>People</h1>
<ul>
{%- assign sorted_people = site.people | sort: 'last-name' %}
{%- for person in sorted_people %}
{%- if person.first-name and person.former != true %}
<li><a href="{{ person.url | relative_url }}">{{ person.first-name }} {{ person.last-name }}</a></li>
{%- endif %}
{%- endfor %}
</ul>
</div>

<h1>Former members</h1>
<div id="formerTable">
<ul>
{%- assign sorted_people = site.people | sort: 'last-name' %}
{%- for person in sorted_people %}
{%- if person.former %}
{%- if person.first-name %}
<li><a href="{{ person.url | relative_url }}">{{ person.first-name }} {{ person.last-name }}</a></li>
{%- endif %}
{%- endif %}
{%- endfor %}
</ul>
</div>
Expand Down