-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from poldracklab/enh/people_yaml
Create people page from a YAML table
- Loading branch information
Showing
3 changed files
with
114 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
```{=html} | ||
<% for (const item of items) { %> | ||
<h2><%- item.group %></h2> | ||
<ul> | ||
<% for (const member of item.members) { %> | ||
<li><% | ||
if (member.website) { %><a href="<%- member.website %>"><% } | ||
%><%- member.name %><% | ||
if (member.website) { %></a><% } | ||
for (const [link, field] of Object.entries(templateParams)) { | ||
if (member[link]) { | ||
%> <a href="<%- field.base_url %><%- member[link] %>"><img src="<%- field.icon %>" alt="<%- field.alt %>"></a><% | ||
} | ||
} | ||
%></li> | ||
<% } %> | ||
</ul> | ||
<% } %> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,20 @@ | ||
--- | ||
title: "Poldracklab members" | ||
listing: | ||
template: people.ejs | ||
contents: | ||
- people.yml | ||
template-params: | ||
# For each icon, add the base URL, icon URL and alt text | ||
# The base URL will be concatenated with the field in the member definition | ||
# For example, ORCID will produce links like | ||
# <a href="{orcid.base_url}{member.orcid}"><img src="{orcid.icon}" alt="{orcid.alt}"></a> | ||
# <a href="https://orcid.org/{member.orcid}"><img src="..." alt="ORCID"></a> | ||
orcid: | ||
base_url: https://orcid.org/ | ||
icon: https://info.orcid.org/wp-content/uploads/2019/11/orcid_16x16.png | ||
alt: ORCID | ||
format: | ||
html: | ||
page-layout: full | ||
--- | ||
|
||
## PI | ||
- [Russ Poldrack](http://poldrack.github.io) | ||
|
||
## Research Scientists | ||
|
||
- Patrick Bissett | ||
- Joshua Buckholtz | ||
- Jeanette Mumford | ||
|
||
## Postdoctoral scholars | ||
|
||
- Michael Demidenko | ||
- Elizabeth DuPre | ||
- Paul Jaffe | ||
- Anita Jwa | ||
- Armin Thomas | ||
|
||
## Graduate Students | ||
|
||
- Austin Brotman | ||
- Rastko Ciric | ||
- Lynde Folsom | ||
- Grace Huckins | ||
- Anna Xu | ||
|
||
## Research Coordinators | ||
|
||
- Logan Bennett | ||
- Jaime Rios | ||
- Sunjae Shim | ||
|
||
## Software Developers | ||
|
||
- Ross Blair | ||
- Nell Hardcastle | ||
- Mathias Goncalves | ||
- Chris Markiewicz | ||
|
||
## Lab Alumni | ||
|
||
- Adam Aron | ||
- Akram Bakkour | ||
- Mei-Yen Chen | ||
- Naomi Cherne | ||
- Jessica Cohen | ||
- Eliza Congdon | ||
- Tyler Davis | ||
- Joke Durnez | ||
- Ian Eisenberg | ||
- Ayse Zeynep Enkavi | ||
- Oscar Esteban | ||
- Karin Foerde | ||
- Adriana Galvan | ||
- Marta Garrido | ||
- Chris Gorgolewski | ||
- Koji Jimura | ||
- Don Kalar | ||
- Sanmi Koyejo | ||
- Agatha Lenartowicz | ||
- Romy Lorenz | ||
- Dana Mastrovito | ||
- Craig Moodie | ||
- Martin Norgaard | ||
- Angela Rizk-Jackson | ||
- Ajay Satpute | ||
- Tom Schonberg | ||
- Mac Shine | ||
- Vanessa Sochat | ||
- Elena Stover | ||
- William Thompson | ||
- Matilde Vaghi | ||
- Jonathan Walters | ||
- Corey White | ||
- Eliott Wimmer | ||
- Alara Wright | ||
- Gui Xue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
- group: PI | ||
members: | ||
- name: Russ Poldrack | ||
website: https://poldrack.github.io | ||
orcid: 0000-0001-6755-0259 | ||
|
||
- group: Research Scientists | ||
members: | ||
- name: Patrick Bissett | ||
- name: Joshua Buckholtz | ||
- name: Jeanette Mumford | ||
|
||
- group: Postdoctoral Scholars | ||
members: | ||
- name: Michael Demidenko | ||
- name: Elizabeth DuPre | ||
- name: Paul Jaffe | ||
- name: Anita Jwa | ||
- name: Armin Thomas | ||
|
||
- group: Graduate Students | ||
members: | ||
- name: Austin Brotman | ||
- name: Rastko Ciric | ||
- name: Lynde Folsom | ||
- name: Grace Huckins | ||
- name: Anna Xu | ||
|
||
- group: Research Coordinators | ||
members: | ||
- name: Logan Bennett | ||
- name: Jaime Rios | ||
- name: Sunjae Shim | ||
|
||
- group: Software Developers | ||
members: | ||
- name: Ross Blair | ||
- name: Nell Hardcastle | ||
- name: Mathias Goncalves | ||
- name: Chris Markiewicz | ||
orcid: 0000-0002-6533-164X | ||
|
||
- group: Lab Alumni | ||
members: | ||
- name: Adam Aron | ||
- name: Akram Bakkour | ||
- name: Mei-Yen Chen | ||
- name: Naomi Cherne | ||
- name: Jessica Cohen | ||
- name: Eliza Congdon | ||
- name: Tyler Davis | ||
- name: Joke Durnez | ||
- name: Ian Eisenberg | ||
- name: Ayse Zeynep Enkavi | ||
- name: Oscar Esteban | ||
- name: Karin Foerde | ||
- name: Adriana Galvan | ||
- name: Marta Garrido | ||
- name: Chris Gorgolewski | ||
- name: Koji Jimura | ||
- name: Don Kalar | ||
- name: Sanmi Koyejo | ||
- name: Agatha Lenartowicz | ||
- name: Romy Lorenz | ||
- name: Dana Mastrovito | ||
- name: Craig Moodie | ||
- name: Martin Norgaard | ||
- name: Angela Rizk-Jackson | ||
- name: Ajay Satpute | ||
- name: Tom Schonberg | ||
- name: Mac Shine | ||
- name: Vanessa Sochat | ||
- name: Elena Stover | ||
- name: William Thompson | ||
- name: Matilde Vaghi | ||
- name: Jonathan Walters | ||
- name: Corey White | ||
- name: Eliott Wimmer | ||
- name: Alara Wright | ||
- name: Gui Xue |