From cd066b8fb0103305cf69399a6515327c65551aa4 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 12 May 2026 13:29:20 +0000 Subject: [PATCH 01/12] people: migrate to _data/people.yml; add scholar/bluesky/orcid links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move lab member data out of hardcoded Liquid markup in people.html into a structured _data/people.yml file. Adding or updating a member is now a one-line YAML edit; people.html itself becomes a small data-driven loop. Two schemas: - Current members: rich card with image, description, and any of seven optional links (site, github, email, linkedin, plus scholar, bluesky, orcid as new additions). Rendered via _includes/person.html. - Former members: simpler alumni list with name + optional url, years, notes parenthetical, and "→ outcome" trailing text. Free-form HTML is supported in notes/outcome for the existing complex cases (e.g. Shariq's "USC PhD → Deepmind", Sujal's Hart Fellow link). The three new icons (scholar, bluesky, orcid) use inline SVG (from Simple Icons, CC0) with brand-colored buttons styled in css/people.css to match the existing bootstrap-social.css buttons. No visible content changes for current entries (verified by checking member names render and image alt text matches). The legacy "Sample Blog Post" placeholder posts are unaffected. This sets up the alumni-section feature from the original report naturally: it's already there in people.html. It also makes future moves toward a Decap CMS dramatically easier. --- _data/people.yml | 283 ++++++++++++++++++++++++++++++++++++++++++ _includes/person.html | 42 +++++-- css/people.css | 29 +++++ people.html | 220 +++++++++----------------------- 4 files changed, 399 insertions(+), 175 deletions(-) create mode 100644 _data/people.yml diff --git a/_data/people.yml b/_data/people.yml new file mode 100644 index 0000000..0ab352f --- /dev/null +++ b/_data/people.yml @@ -0,0 +1,283 @@ +# Lab people data, rendered by people.html. +# +# CURRENT MEMBERS go under `current.` and use the rich card schema +# (image, description, optional social links). FORMER MEMBERS go under +# `former.` and use the simpler alumni-list schema (name, years, +# optional link, optional outcome). +# +# All link fields are optional — leave a key out and its icon won't render. +# `notes` and `outcome` on former members accept inline HTML. +# +# Current-member schema: +# name: string (required) +# title: string (optional, defaults per role) +# image: string (required, path under /images/) +# desc: string (required, supports inline HTML) +# site: string (optional, personal homepage) +# github: string (optional) +# email: string (optional) +# linkedin: string (optional) +# scholar: string (optional, Google Scholar URL) +# bluesky: string (optional) +# orcid: string (optional) +# +# Former-member schema: +# name: string (required) +# url: string (optional, what to wrap the name in) +# years: string (optional, e.g. "2017" or "2015-2016") +# notes: string (optional, HTML-safe parenthetical) +# outcome: string (optional, HTML-safe trailing "→ ..." text) + +pi: + name: John Pearson + image: /images/john.png + site: http://jmxpearson.com + github: https://github.com/jmxpearson + email: john.pearson@duke.edu + linkedin: https://www.linkedin.com/in/jmxpearson + desc: >- + John earned his bachelor's degree in physics and math from the University + of Kentucky and his PhD in physics from Princeton. He became a neuroscientist + at Duke, where he did his postdoctoral training with Michael Platt, working + on the neurobiology of reward and decision-making. From 2015 to 2018, he was + an Assistant Research Professor in the Duke Institute for Brain Sciences. In + 2018, he moved back to the School of Medicine as an Assistant Professor in + the Department of Biostatistics & Bioinformatics, and in 2022, he moved + to the Department of Neurobiology, where he was promoted to Associate + Professor in 2025. In addition, he maintains secondary appointments in the + departments of Biostatics & Bioinformatics, Psychology & + Neuroscience, and Electrical and Computer Engineering. + (cv) + +current: + postdocs: [] + + graduate_students: + - name: Trevor Alston + image: /images/Trevor.jpg + github: https://github.com/Trevorules + email: trevor.alston@duke.edu + linkedin: https://www.linkedin.com/in/trevor-alston + desc: >- + Trevor is a sixth-year Neurobiology graduate student at Duke + University. He holds two Biomedical Engineering Degrees; he received + his BS degree from Rutgers University and his MS degree from + Northwestern University. His research interest is in Neuroengineering + and brain-related technologies. Outside of the lab he likes hanging + out with friends, playing games, and watching TV. + + - name: Miles Martinez + title: Electrical and Computer Engineering PhD Candidate + image: /images/miles.jpg + github: https://github.com/mdmarti + email: miles.martinez@duke.edu + linkedin: https://www.linkedin.com/in/miles-martinez-00a496123/ + desc: >- + Miles is a fifth-year graduate student in Electrical and Computer + Engineering. He entered Duke through the CNAP program. He currently + develops and applies computational methods to understand the neural + bases of natural learning. When not doing research, he loves getting + outside and hiking or rock climbing — unless it's too cold, in which + case you can find him indoors cooking or playing games. + + - name: Ziyi Gong + title: Neurobiology Graduate Student + image: /images/gong.png + scholar: https://scholar.google.com/citations?user=zOKHGPgAAAAJ + github: https://github.com/gongziyida + email: ziyi.gong@duke.edu + desc: >- + Ziyi is a fourth-year PhD candidate in Neurobiology. He received his + B.S. in Computer Science with minors in Mathematics and Neuroscience + from the University of Pittsburgh. He is interested in building + mathematical models to summarize, explain, and predict phenomena + observed in brains. Currently, he is developing models to explain how + songbirds learn to sing. He previously worked with Dr. Nicolas Brunel + on the roles of inhibition and inhibitory plasticity in the learning + and memory of sequences. Outside of the lab he loves cooking and + exercising, and occasionally plays the xiao (Chinese flute). + + - name: David St-Amand + title: Neurobiology Graduate Student + image: https://scholars.duke.edu/file/i6468953/image_6468953.JPG + scholar: https://scholar.google.com/citations?user=Bc4NeD0AAAAJ + github: https://github.com/DavidStA95 + email: david.st-amand@duke.edu + desc: >- + David is a third-year graduate student in Neurobiology. He graduated + from McGill University, where he received his BS in Psychology and + his MS in Neuroscience. His research investigates how efficient + coding models can help us understand how information is computed in + the retina. Outside the lab, he likes to work out and play games. + + - name: Shiyang Pan + title: Electrical and Computer Engineering PhD Student + image: /images/shiyang.jpg + site: https://waaaaaterfall.github.io + github: https://github.com/WaAaaAterfall + email: shiyang.pan@duke.edu + linkedin: https://www.linkedin.com/in/shiyangpan + desc: >- + Shiyang is a graduate student in Electrical & Computer Engineering + at Duke. She received her Bsc in Applied Mathematics from University + of Liverpool and Xi'an Jiaotong-Liverpool University. Her research + focuses on developing computational models and real-time methods to + understand the activity of large-scale neural populations. When not + doing research she enjoys music, reading, and creative writing. + + - name: Caitlin Lewis + title: Electrical & Computer Engineering PhD Student + image: /images/caitlin.jpg + github: https://github.com/clewis7 + email: caitlin.lewis@duke.edu + linkedin: https://www.linkedin.com/in/caitlinllewis/ + desc: >- + Caitlin is a second-year graduate student in Electrical & Computer + Engineering at Duke. She received her B.S. in Computer Science and + Statistics from the University of North Carolina at Chapel Hill. Her + research focuses on developing computational models and open-source + software tools for real-time analysis and visualization of large-scale + neural data. Outside of the lab, she enjoys reading and playing + pickleball with friends. + + research_associates: [] + undergraduates: [] + +former: + postdocs: + - name: Jeff MacInnes + url: http://www.jeffmacinnes.com/ + years: 2017 + notes: joint with Elizabeth Johnson + outcome: University of Washington (postdoc) + + - name: Chintan Oza + years: 2015-2016 + notes: 'joint with Warren Grill' + outcome: Consulting (L.E.K.) + + - name: Anne Draelos + url: https://draelos.github.io + years: 2018-2022 + outcome: Assistant Professor, University of Michigan + + - name: Scott Smyre + years: 2023-2024 + outcome: Research Scientist, Wake Forest University + + - name: Seth Madlon-Kay + years: 2019-2025 + + graduate_students: + - name: Kelsey McDonald + years: 2016-2021 + outcome: Data Scientist, Labcorp Drug Development + + - name: Robert Gramer + url: https://www.massgeneral.org/neurosurgery/doctors/current-residents + years: 2016-2017 + notes: 3rd year medical student + outcome: Neurosurgical Resident, Massachusetts General Hospital + + - name: Achint Kumar + url: https://achintzeus1994.github.io + years: 2021-2022 + + - name: Na Young Jun + years: 2017-2022 + outcome: Meta Reality Labs + + - name: Pranjal Gupta + years: 2018-2024 + outcome: data scientist + + - name: Kevin O'Neill + url: https://kevingoneill.github.io + years: 2018-2024 + outcome: postdoc, University College London + + - name: Raphael Geddert + years: 2019-2024 + outcome: data scientist, Gilead Sciences + + - name: Daniela de Albuquerque + url: https://dannyfa.github.io/ + years: 2020-2025 + outcome: MS4, Duke University + + - name: Liz O'Gorman + years: 2022-2025 + + research_associates: + - name: Lun (Sam) Yin + years: 2017-2020 + outcome: Emory Biostatistics (PhD program) + + - name: Jack Goffinet + url: https://scholar.google.com/citations?user=-oXW2RYAAAAJ&hl=en + years: 2018-2020 + outcome: Duke Computer Science (PhD program) + + - name: Qian Kuang + years: 2017-2018 + + - name: Shariq Iqbal + url: https://shariqiqbal2810.github.io + years: 2015-2017 + outcome: USC Computer Science (PhD) → Deepmind + + - name: Xin (Cindy) Chen + years: 2016-2017 + outcome: Data Engineer (Citadel) + + - name: Abhishek Upadhyaya Ghimire + url: https://abhishekupadhyaya.github.io/ + years: 2016-2017 + outcome: Cloud Security Engineer (Cisco) + + - name: Athelia Rosa Paulli + years: 2016-2017 + outcome: UCLA → Children's National Hospital + + undergraduates: + - name: Christopher Zhou + years: 2022-2025 + + - name: Sara Liszeski + years: 2021-2023 + outcome: Columbia Medical School + + - name: Dominic Tanzillo + url: https://dominictanzillo.github.io/ + years: 2020-2021 + outcome: Duke Medical School + + - name: Daniel Sprague + url: https://linkedin.com/in/daniel-sprague-yutaka + years: 2020-2021 + outcome: Harvard Neurobiology + + - name: Chaichontat Sriworarat (Richard) + url: https://github.com/chaichontat/ + years: 2019-2021 + outcome: Janelia Joint Graduate Program + + - name: Sujal Manojar + url: https://www.sujalmanohar.com/ + years: 2020 + outcome: 'Hart Leadership Fellow → Baylor College of Medicine' + + - name: Raymond Chen + years: 2019 + notes: Huang Fellow + + - name: Thomas Li + url: http://thomasli.me/ + years: 2018 + outcome: Vanderbilt Medical School + + - name: Andrew Bartuska + url: https://www.linkedin.com/in/andrew-bartuska-649917121 + years: 2015-2016 + notes: Senior Thesis + outcome: Harvard Medical School diff --git a/_includes/person.html b/_includes/person.html index a770ee1..9fddf25 100644 --- a/_includes/person.html +++ b/_includes/person.html @@ -1,37 +1,53 @@ +{% assign person = include.person %}
- {{ include.name }} + {{ person.name }}


- {% if include.site %} - + {% if person.site %} + {% endif %} - {% if include.github %} - + {% if person.github %} + {% endif %} - {% if include.email %} - + {% if person.email %} + {% endif %} - {% if include.linkedin %} - + {% if person.linkedin %} + {% endif %} - {% if include.site == null and include.github == null and include.email == null and include.linkedin == null %} + {% if person.scholar %} + + + + {% endif %} + {% if person.bluesky %} + + + + {% endif %} + {% if person.orcid %} + + + + {% endif %} + {% if person.site == nil and person.github == nil and person.email == nil and person.linkedin == nil and person.scholar == nil and person.bluesky == nil and person.orcid == nil %}

{% endif %}

-

{{ include.name }}

-

{{ include.title }}

+

{{ person.name }}

+ {% if person.title %}

{{ person.title }}

{% endif %}

- {{ include.desc }} + {{ person.desc }}

diff --git a/css/people.css b/css/people.css index b1782d5..682488e 100644 --- a/css/people.css +++ b/css/people.css @@ -31,3 +31,32 @@ div.img-div { .col-md-5 { font-size: 0.8em; } + +/* Brand-colored social buttons for icons not in bootstrap-social.css. + The inline SVG fills the parent button using the same sizing as the + font-awesome in btn-social-icon. */ +.person-icon-scholar, +.person-icon-bluesky, +.person-icon-orcid { + color: #fff; + border-color: rgba(0, 0, 0, 0.2); +} +.person-icon-scholar { background-color: #4285F4; } +.person-icon-bluesky { background-color: #0085FF; } +.person-icon-orcid { background-color: #A6CE39; } + +.person-icon-scholar:hover, +.person-icon-scholar:focus { color: #fff; background-color: #1A73E8; } +.person-icon-bluesky:hover, +.person-icon-bluesky:focus { color: #fff; background-color: #0066CC; } +.person-icon-orcid:hover, +.person-icon-orcid:focus { color: #fff; background-color: #8BB52E; } + +.btn-social-icon svg { + width: 20px; + height: 20px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} diff --git a/people.html b/people.html index e5620f1..dba5b43 100644 --- a/people.html +++ b/people.html @@ -5,201 +5,97 @@ nav: People extra_head: '' --- +{% assign people = site.data.people %}

Principal Investigator:


- {% include person.html - image="/images/john.png" - site="http://jmxpearson.com" github="https://github.com/jmxpearson" - email="john.pearson@duke.edu" - linkedin="https://www.linkedin.com/in/jmxpearson" name="John Pearson" - desc="John earned his bachelor's degree in physics and math from the - University of Kentucky and his PhD in physics from Princeton. He became a - neuroscientist at Duke, where he did his postdoctoral training with Michael - Platt, working on the neurobiology of reward and decision-making. From 2015 to - 2018, he was an Assistant Research Professor in the Duke Institute for Brain - Sciences. In 2018, he moved back to the School of Medicine as an Assistant - Professor in the Department of Biostatistics & Bioinformatics, and in 2022, he moved to the - Department of Neurobiology, where he was promoted to Associate Professor in 2025. In addition, he maintains secondary - appointments in the departments of Biostatics & Bioinformatics, Psychology & Neuroscience, and Electrical - and Computer Engineering. (cv)



" %} + {% include person.html person=people.pi %}
- - -

Graduate Students:

+ +{% if people.current.postdocs.size > 0 %} +

Postdocs:


- {% - include person.html image="/images/Trevor.jpg" - github="https://github.com/Trevorules" email="trevor.alston@duke.edu" - linkedin="www.linkedin.com/in/trevor-alston" name="Trevor Alston" desc="Trevor is a sixth-year Neurobiology graduate student at Duke University. - He holds two Biomedical Engineering Degrees; he received his BS degree from Rutgers University and his MS degree from Northwestern University. - His research interest is in Neuroengineering and brain-related technologies. Outside of the lab he likes hanging out with friends, playing games, and watching TV. -







" %} - {% - include person.html image="images/miles.jpg" - github="https://github.com/mdmarti" email="miles.martinez@duke.edu" - linkedin="https://www.linkedin.com/in/miles-martinez-00a496123/" - name="Miles Martinez" title="Electrical and Computer Engineering PhD Candidate" desc="Miles is a fifth-year graduate student in Electrical and Computer Engineering. - He entered Duke through the CNAP program. He currently develops and applies computational methods to - understand the neural bases of natural learning. When not doing - research, he loves getting outside and hiking or rock climbing - unless it's - too cold, in which case you can find him indoors cooking or playing games. -



" %} - {% - include person.html image="images/gong.png" - site="https://scholar.google.com/citations?user=zOKHGPgAAAAJ" - github="https://github.com/gongziyida" email="ziyi.gong@duke.edu" - name="Ziyi Gong" title="Neurobiology Graduate Student" desc="Ziyi is a fourth-year PhD candidate in Neurobiology. He received his B.S. in Computer Science with minors in Mathematics and Neuroscience from the University of Pittsburgh. He is interested in building mathematical models to summarize, explain, and predict phenomena observed in brains. Currently, he is developing models to explain how songbirds learn to sing. He previously worked with Dr. Nicolas Brunel on the roles of inhibition and inhibitory plasticity in the learning and memory of sequences. Outside of the lab he loves cooking and exercising, and occasionally plays the xiao (Chinese flute). -



" %} - {% - include person.html image="https://scholars.duke.edu/file/i6468953/image_6468953.JPG" - site="https://scholar.google.com/citations?user=Bc4NeD0AAAAJ" - github="https://github.com/DavidStA95" email="david.st-amand@duke.edu" - name="David St-Amand" title="Neurobiology Graduate Student" desc="David is a third-year graduate student in Neurobiology. He graduated from McGill University, where he received his BS in Psychology and his MS in Neuroscience. His research investigates how efficient coding models can help us understand how information is computed in the retina. Outside the lab, he likes to work out and play games. -



" %} - {% - include person.html image="/images/shiyang.jpg" - github="https://github.com/WaAaaAterfall" email="shiyang.pan@duke.edu" - linkedin="https://www.linkedin.com/in/shiyangpan" - site="https://waaaaaterfall.github.io" - name="Shiyang Pan" title="Electrical and Computer Engineering PhD Student" desc=" Shiyang is a graduate student in Electrical & Computer Engineering at Duke. - She received her Bsc in Applied Mathematics from University of Liverpool and Xi'an Jiaotong-Liverpool University. - Her research focuses on developing computational models and real-time methods to understand the activity of large-scale neural populations. - When not doing research she enjoys music, reading, and creative writing. -



" %} - {% - include person.html image="images/caitlin.jpg" - github="https://github.com/clewis7" email="caitlin.lewis@duke.edu" - linkedin="https://www.linkedin.com/in/caitlinllewis/" - name="Caitlin Lewis" - title="Electrical & Computer Engineering PhD Student" - desc="Caitlin is a second-year graduate student in Electrical & Computer Engineering at Duke. She received her B.S. in Computer Science and Statistics from the University of North Carolina at Chapel Hill. - Her research focuses on developing computational models and open-source software tools for real-time analysis and visualization of large-scale neural data. - Outside of the lab, she enjoys reading and playing pickleball with friends. -



" %} + {% for person in people.current.postdocs %} + {% include person.html person=person %} + {% endfor %} +
+{% endif %} +{% if people.current.graduate_students.size > 0 %} +

Graduate Students:

+
+
+ {% for person in people.current.graduate_students %} + {% include person.html person=person %} + {% endfor %}
- + {% for person in people.current.research_associates %} + {% include person.html person=person %} + {% endfor %} + +{% endif %} +{% if people.current.undergraduates.size > 0 %}

Undergraduate Students:


- - + {% for person in people.current.undergraduates %} + {% include person.html person=person %} + {% endfor %}
+{% endif %} +

Former members

+ +{% if people.former.postdocs.size > 0 %}

Postdocs:

    +{% for person in people.former.postdocs %}
  • - Jeff MacInnes (2017; joint with - Elizabeth Johnson) - → University of Washington (postdoc) -
  • -
  • - Chintan Oza - (2015-2016; joint with - Warren Grill) - → Consulting (L.E.K.) -
  • -
  • - Anne Draelos - (2018-2022) - → Assistant Professor, University of Michigan -
  • -
  • - Scott Smyre - (2023-2024) - → Research Scientist, Wake Forest University -
  • -
  • - Seth Madlon-Kay - (2019-2025) + {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %}
  • +{% endfor %}
+{% endif %} + +{% if people.former.graduate_students.size > 0 %}

Graduate Students:

    -
  • Kelsey McDonald (2016-2021) → Data Scientist, Labcorp Drug Development
  • -
  • Robert Gramer (2016-2017; 3rd year medical student) → Neurosurgical Resident, Massachusetts General Hospital
  • -
  • Achint Kumar (2021-2022)
  • -
  • Na Young Jun (2017-2022) → Meta Reality Labs
  • -
  • Pranjal Gupta (2018-2024) → data scientist
  • -
  • Kevin O'Neill (2018-2024) → postdoc, University College London
  • -
  • Raphael Geddert (2019-2024) → data scientist, Gilead Sciences
  • -
  • Daniela de Albuquerque (2020-2025) → MS4, Duke University
  • -
  • Liz O'Gorman (2022-2025)
  • +{% for person in people.former.graduate_students %} +
  • + {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %} +
  • +{% endfor %}
+{% endif %} + +{% if people.former.research_associates.size > 0 %}

Research Associates:

    +{% for person in people.former.research_associates %}
  • - Lun (Sam) Yin - (2017-2020) → Emory Biostatistics (PhD program) -
  • -
  • - Jack Goffinet - (2018-2020) → Duke Computer Science (PhD program) -
  • -
  • - Qian Kuang - (2017-2018) -
  • -
  • - Shariq Iqbal (2015-2017) - → USC Computer Science (PhD) → Deepmind -
  • -
  • - Xin (Cindy) Chen - (2016-2017) → Data Engineer (Citadel) -
  • -
  • - Abhishek Upadhyaya Ghimire - (2016-2017) → Cloud Security Engineer (Cisco) -
  • -
  • - Athelia Rosa Paulli - (2016-2017) → UCLA → Children's National Hospital + {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %}
  • +{% endfor %}
+{% endif %} + +{% if people.former.undergraduates.size > 0 %}

Undergraduates:

    +{% for person in people.former.undergraduates %}
  • - Christopher Zhou - (2022-2025) -
  • -
  • - Sara Liszeski - (2021-2023) → Columbia Medical School -
  • -
  • - Dominic Tanzillo - (2020-2021) → Duke Medical School -
  • -
  • - Daniel Sprague - (2020-2021) → Harvard Neurobiology -
  • -
  • - Chaichontat Sriworarat (Richard) - (2019-2021) → Janelia Joint Graduate Program -
  • -
  • - Sujal Manojar - (2020) → Hart Leadership Fellow → Baylor College of Medicine -
  • -
  • Raymond Chen (2019, Huang Fellow)
  • -
  • - Thomas Li - (2018) → Vanderbilt Medical School -
  • -
  • - Andrew Bartuska - (2015-2016; Senior Thesis) → Harvard Medical School + {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %}
  • +{% endfor %}
+{% endif %} From 2bd868f4eee0fd4298e0a99bf30af2c3776895eb Mon Sep 17 00:00:00 2001 From: John Pearson Date: Tue, 12 May 2026 09:42:23 -0400 Subject: [PATCH 02/12] adding bsky --- _data/people.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/_data/people.yml b/_data/people.yml index 0ab352f..508758d 100644 --- a/_data/people.yml +++ b/_data/people.yml @@ -35,6 +35,7 @@ pi: github: https://github.com/jmxpearson email: john.pearson@duke.edu linkedin: https://www.linkedin.com/in/jmxpearson + blueksy: https://bsky.app/profile/jmxpearson.bsky.social desc: >- John earned his bachelor's degree in physics and math from the University of Kentucky and his PhD in physics from Princeton. He became a neuroscientist From 1576d91f8eeb4b486f7e7e94012fd53e47448344 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 12 May 2026 13:43:12 +0000 Subject: [PATCH 03/12] people: fix SVG icon rendering for scholar/bluesky/orcid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new icons used .btn-social-icon, which has CSS that's designed for the FontAwesome child: .btn-social-icon > :first-child { position: absolute; left: 0; top: 0; bottom: 0; width: 100% !important; ... } That forced the SVG to fill the button (width 100%, top 0, bottom 0, left 0) which collided with my own SVG centering rules and produced an invisible/distorted icon — most users saw just a colored square. Use a fresh .person-svg-icon class instead, which doesn't inherit btn-social-icon's first-child rules. Visually sized to match the existing FA-based 34x34 social icons. Also restore the always-emit

{{ person.title }}

in person.html. The original template emitted the wrapper even when title was undefined (which renders empty

); I'd made it conditional, which slightly shifted card heights for members without a title and contributed to Bootstrap 3 float reflow. --- _includes/person.html | 8 +++---- css/people.css | 50 ++++++++++++++++++++++++++----------------- 2 files changed, 34 insertions(+), 24 deletions(-) diff --git a/_includes/person.html b/_includes/person.html index 9fddf25..45357b2 100644 --- a/_includes/person.html +++ b/_includes/person.html @@ -25,17 +25,17 @@ {% endif %} {% if person.scholar %} - + {% endif %} {% if person.bluesky %} - + {% endif %} {% if person.orcid %} - + {% endif %} @@ -46,7 +46,7 @@

{{ person.name }}

- {% if person.title %}

{{ person.title }}

{% endif %} +

{{ person.title }}

{{ person.desc }}

diff --git a/css/people.css b/css/people.css index 682488e..e744df6 100644 --- a/css/people.css +++ b/css/people.css @@ -32,31 +32,41 @@ div.img-div { font-size: 0.8em; } -/* Brand-colored social buttons for icons not in bootstrap-social.css. - The inline SVG fills the parent button using the same sizing as the - font-awesome in btn-social-icon. */ -.person-icon-scholar, -.person-icon-bluesky, -.person-icon-orcid { +/* Brand-colored buttons for SVG-based social icons (Google Scholar, + Bluesky, ORCID). Uses its own class to avoid inheriting + btn-social-icon's > :first-child rules, which were designed for the + FontAwesome child and force width:100%!important + a border on + the SVG. Sized to match the 34x34 visual of btn-social-icon so the + row of icons reads as one set. */ +.person-svg-icon { + display: inline-block; + width: 34px; + height: 34px; + padding: 7px; + margin: 0 2px; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 4px; color: #fff; - border-color: rgba(0, 0, 0, 0.2); + vertical-align: middle; + text-align: center; + line-height: 0; +} +.person-svg-icon:hover, +.person-svg-icon:focus { + color: #fff; + text-decoration: none; +} +.person-svg-icon svg { + width: 100%; + height: 100%; + display: block; } .person-icon-scholar { background-color: #4285F4; } .person-icon-bluesky { background-color: #0085FF; } .person-icon-orcid { background-color: #A6CE39; } - .person-icon-scholar:hover, -.person-icon-scholar:focus { color: #fff; background-color: #1A73E8; } +.person-icon-scholar:focus { background-color: #1A73E8; } .person-icon-bluesky:hover, -.person-icon-bluesky:focus { color: #fff; background-color: #0066CC; } +.person-icon-bluesky:focus { background-color: #0066CC; } .person-icon-orcid:hover, -.person-icon-orcid:focus { color: #fff; background-color: #8BB52E; } - -.btn-social-icon svg { - width: 20px; - height: 20px; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); -} +.person-icon-orcid:focus { background-color: #8BB52E; } From d876a558c73543470cce21e553b1e283905160e3 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 12 May 2026 13:44:16 +0000 Subject: [PATCH 04/12] people: fix bluesky key typo (was 'blueksy') so John's icon renders --- _data/people.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/people.yml b/_data/people.yml index 508758d..f7265c0 100644 --- a/_data/people.yml +++ b/_data/people.yml @@ -35,7 +35,7 @@ pi: github: https://github.com/jmxpearson email: john.pearson@duke.edu linkedin: https://www.linkedin.com/in/jmxpearson - blueksy: https://bsky.app/profile/jmxpearson.bsky.social + bluesky: https://bsky.app/profile/jmxpearson.bsky.social desc: >- John earned his bachelor's degree in physics and math from the University of Kentucky and his PhD in physics from Princeton. He became a neuroscientist From d3a5bafedbd5a3a3926bd9058488ec792c0be372 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 12 May 2026 13:44:56 +0000 Subject: [PATCH 05/12] home: set body min-height to 100vh so background SVG fills viewport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The home layout's body had `background-size: 80%` with no height set. In quirks mode (pre-PR-#42, when no doctype existed) body filled the viewport by default, so 80% scaled the [λ] logo nicely against the full window. After adding DOCTYPE in #42 standards mode kicked in, body shrinks to content height, and 80% scales against a much smaller body — which pushed the floated DUSOM image into visual overlap with the (now smaller) central [λ]. Setting min-height: 100vh restores the original visual. --- _layouts/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index dcc1209..e39fcdc 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,7 +2,7 @@ {% include head.html %} - + {% include navbar.html %} Duke School of Medicine, Department of Neurobiology
From 66452ce6f9fc5b0c06b59f92412165efeb780cc8 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 12 May 2026 13:52:11 +0000 Subject: [PATCH 06/12] people: flat schema with `current` flag; bump font size; home bg fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three changes: 1) _data/people.yml restructured to one list per role (postdocs, graduate_students, research_associates, undergraduates). Each entry has an optional `current` flag — absent or true means present member (renders as rich card), false means alumni (renders as list item under "Former members"). Moving someone to alumni is now one line: `current: false` plus optional `years` / `outcome`. Existing image/desc/social fields can be kept for historical reference; the template only renders the relevant subset. 2) people.html rewritten to filter each role list by `current` instead of reaching into nested `current.X` / `former.X` subtrees. Uses Liquid's where_exp + where filters. 3) css/people.css: removed `.col-md-5 { font-size: 0.8em }` so member descriptions render at default body font size (~1em). 4) home.html: changed background-size from 80% to `contain` so the [λ] logo always fits the viewport instead of getting clipped on the right edge. --- _data/people.yml | 506 ++++++++++++++++++++++++--------------------- _layouts/home.html | 2 +- css/people.css | 4 - people.html | 111 +++------- 4 files changed, 296 insertions(+), 327 deletions(-) diff --git a/_data/people.yml b/_data/people.yml index f7265c0..994b704 100644 --- a/_data/people.yml +++ b/_data/people.yml @@ -1,16 +1,17 @@ # Lab people data, rendered by people.html. # -# CURRENT MEMBERS go under `current.` and use the rich card schema -# (image, description, optional social links). FORMER MEMBERS go under -# `former.` and use the simpler alumni-list schema (name, years, -# optional link, optional outcome). +# One list per role. Each entry has an optional `current` flag: +# current: true (default — present member, renders as rich card) +# current: false (alumni — renders as a list item under "Former members") # -# All link fields are optional — leave a key out and its icon won't render. -# `notes` and `outcome` on former members accept inline HTML. +# Moving someone to alumni is a one-line edit: set `current: false`, +# then optionally add `years` and `outcome`. You can keep their image, +# desc, and social links — the template only renders those for current +# members, but preserving them keeps history available for later. # -# Current-member schema: +# Card schema (used when current is true or absent): # name: string (required) -# title: string (optional, defaults per role) +# title: string (optional) # image: string (required, path under /images/) # desc: string (required, supports inline HTML) # site: string (optional, personal homepage) @@ -21,7 +22,7 @@ # bluesky: string (optional) # orcid: string (optional) # -# Former-member schema: +# Alumni-list schema (used when current is false): # name: string (required) # url: string (optional, what to wrap the name in) # years: string (optional, e.g. "2017" or "2015-2016") @@ -50,235 +51,258 @@ pi: Neuroscience, and Electrical and Computer Engineering. (cv) -current: - postdocs: [] - - graduate_students: - - name: Trevor Alston - image: /images/Trevor.jpg - github: https://github.com/Trevorules - email: trevor.alston@duke.edu - linkedin: https://www.linkedin.com/in/trevor-alston - desc: >- - Trevor is a sixth-year Neurobiology graduate student at Duke - University. He holds two Biomedical Engineering Degrees; he received - his BS degree from Rutgers University and his MS degree from - Northwestern University. His research interest is in Neuroengineering - and brain-related technologies. Outside of the lab he likes hanging - out with friends, playing games, and watching TV. - - - name: Miles Martinez - title: Electrical and Computer Engineering PhD Candidate - image: /images/miles.jpg - github: https://github.com/mdmarti - email: miles.martinez@duke.edu - linkedin: https://www.linkedin.com/in/miles-martinez-00a496123/ - desc: >- - Miles is a fifth-year graduate student in Electrical and Computer - Engineering. He entered Duke through the CNAP program. He currently - develops and applies computational methods to understand the neural - bases of natural learning. When not doing research, he loves getting - outside and hiking or rock climbing — unless it's too cold, in which - case you can find him indoors cooking or playing games. - - - name: Ziyi Gong - title: Neurobiology Graduate Student - image: /images/gong.png - scholar: https://scholar.google.com/citations?user=zOKHGPgAAAAJ - github: https://github.com/gongziyida - email: ziyi.gong@duke.edu - desc: >- - Ziyi is a fourth-year PhD candidate in Neurobiology. He received his - B.S. in Computer Science with minors in Mathematics and Neuroscience - from the University of Pittsburgh. He is interested in building - mathematical models to summarize, explain, and predict phenomena - observed in brains. Currently, he is developing models to explain how - songbirds learn to sing. He previously worked with Dr. Nicolas Brunel - on the roles of inhibition and inhibitory plasticity in the learning - and memory of sequences. Outside of the lab he loves cooking and - exercising, and occasionally plays the xiao (Chinese flute). - - - name: David St-Amand - title: Neurobiology Graduate Student - image: https://scholars.duke.edu/file/i6468953/image_6468953.JPG - scholar: https://scholar.google.com/citations?user=Bc4NeD0AAAAJ - github: https://github.com/DavidStA95 - email: david.st-amand@duke.edu - desc: >- - David is a third-year graduate student in Neurobiology. He graduated - from McGill University, where he received his BS in Psychology and - his MS in Neuroscience. His research investigates how efficient - coding models can help us understand how information is computed in - the retina. Outside the lab, he likes to work out and play games. - - - name: Shiyang Pan - title: Electrical and Computer Engineering PhD Student - image: /images/shiyang.jpg - site: https://waaaaaterfall.github.io - github: https://github.com/WaAaaAterfall - email: shiyang.pan@duke.edu - linkedin: https://www.linkedin.com/in/shiyangpan - desc: >- - Shiyang is a graduate student in Electrical & Computer Engineering - at Duke. She received her Bsc in Applied Mathematics from University - of Liverpool and Xi'an Jiaotong-Liverpool University. Her research - focuses on developing computational models and real-time methods to - understand the activity of large-scale neural populations. When not - doing research she enjoys music, reading, and creative writing. - - - name: Caitlin Lewis - title: Electrical & Computer Engineering PhD Student - image: /images/caitlin.jpg - github: https://github.com/clewis7 - email: caitlin.lewis@duke.edu - linkedin: https://www.linkedin.com/in/caitlinllewis/ - desc: >- - Caitlin is a second-year graduate student in Electrical & Computer - Engineering at Duke. She received her B.S. in Computer Science and - Statistics from the University of North Carolina at Chapel Hill. Her - research focuses on developing computational models and open-source - software tools for real-time analysis and visualization of large-scale - neural data. Outside of the lab, she enjoys reading and playing - pickleball with friends. - - research_associates: [] - undergraduates: [] - -former: - postdocs: - - name: Jeff MacInnes - url: http://www.jeffmacinnes.com/ - years: 2017 - notes: joint with Elizabeth Johnson - outcome: University of Washington (postdoc) - - - name: Chintan Oza - years: 2015-2016 - notes: 'joint with Warren Grill' - outcome: Consulting (L.E.K.) - - - name: Anne Draelos - url: https://draelos.github.io - years: 2018-2022 - outcome: Assistant Professor, University of Michigan - - - name: Scott Smyre - years: 2023-2024 - outcome: Research Scientist, Wake Forest University - - - name: Seth Madlon-Kay - years: 2019-2025 - - graduate_students: - - name: Kelsey McDonald - years: 2016-2021 - outcome: Data Scientist, Labcorp Drug Development - - - name: Robert Gramer - url: https://www.massgeneral.org/neurosurgery/doctors/current-residents - years: 2016-2017 - notes: 3rd year medical student - outcome: Neurosurgical Resident, Massachusetts General Hospital - - - name: Achint Kumar - url: https://achintzeus1994.github.io - years: 2021-2022 - - - name: Na Young Jun - years: 2017-2022 - outcome: Meta Reality Labs - - - name: Pranjal Gupta - years: 2018-2024 - outcome: data scientist - - - name: Kevin O'Neill - url: https://kevingoneill.github.io - years: 2018-2024 - outcome: postdoc, University College London - - - name: Raphael Geddert - years: 2019-2024 - outcome: data scientist, Gilead Sciences - - - name: Daniela de Albuquerque - url: https://dannyfa.github.io/ - years: 2020-2025 - outcome: MS4, Duke University - - - name: Liz O'Gorman - years: 2022-2025 - - research_associates: - - name: Lun (Sam) Yin - years: 2017-2020 - outcome: Emory Biostatistics (PhD program) - - - name: Jack Goffinet - url: https://scholar.google.com/citations?user=-oXW2RYAAAAJ&hl=en - years: 2018-2020 - outcome: Duke Computer Science (PhD program) - - - name: Qian Kuang - years: 2017-2018 - - - name: Shariq Iqbal - url: https://shariqiqbal2810.github.io - years: 2015-2017 - outcome: USC Computer Science (PhD) → Deepmind - - - name: Xin (Cindy) Chen - years: 2016-2017 - outcome: Data Engineer (Citadel) - - - name: Abhishek Upadhyaya Ghimire - url: https://abhishekupadhyaya.github.io/ - years: 2016-2017 - outcome: Cloud Security Engineer (Cisco) - - - name: Athelia Rosa Paulli - years: 2016-2017 - outcome: UCLA → Children's National Hospital - - undergraduates: - - name: Christopher Zhou - years: 2022-2025 - - - name: Sara Liszeski - years: 2021-2023 - outcome: Columbia Medical School - - - name: Dominic Tanzillo - url: https://dominictanzillo.github.io/ - years: 2020-2021 - outcome: Duke Medical School - - - name: Daniel Sprague - url: https://linkedin.com/in/daniel-sprague-yutaka - years: 2020-2021 - outcome: Harvard Neurobiology - - - name: Chaichontat Sriworarat (Richard) - url: https://github.com/chaichontat/ - years: 2019-2021 - outcome: Janelia Joint Graduate Program - - - name: Sujal Manojar - url: https://www.sujalmanohar.com/ - years: 2020 - outcome: 'Hart Leadership Fellow → Baylor College of Medicine' - - - name: Raymond Chen - years: 2019 - notes: Huang Fellow - - - name: Thomas Li - url: http://thomasli.me/ - years: 2018 - outcome: Vanderbilt Medical School - - - name: Andrew Bartuska - url: https://www.linkedin.com/in/andrew-bartuska-649917121 - years: 2015-2016 - notes: Senior Thesis - outcome: Harvard Medical School +postdocs: + - name: Jeff MacInnes + current: false + url: http://www.jeffmacinnes.com/ + years: 2017 + notes: joint with Elizabeth Johnson + outcome: University of Washington (postdoc) + + - name: Chintan Oza + current: false + years: 2015-2016 + notes: 'joint with Warren Grill' + outcome: Consulting (L.E.K.) + + - name: Anne Draelos + current: false + url: https://draelos.github.io + years: 2018-2022 + outcome: Assistant Professor, University of Michigan + + - name: Scott Smyre + current: false + years: 2023-2024 + outcome: Research Scientist, Wake Forest University + + - name: Seth Madlon-Kay + current: false + years: 2019-2025 + +graduate_students: + - name: Trevor Alston + image: /images/Trevor.jpg + github: https://github.com/Trevorules + email: trevor.alston@duke.edu + linkedin: https://www.linkedin.com/in/trevor-alston + desc: >- + Trevor is a sixth-year Neurobiology graduate student at Duke + University. He holds two Biomedical Engineering Degrees; he received + his BS degree from Rutgers University and his MS degree from + Northwestern University. His research interest is in Neuroengineering + and brain-related technologies. Outside of the lab he likes hanging + out with friends, playing games, and watching TV. + + - name: Miles Martinez + title: Electrical and Computer Engineering PhD Candidate + image: /images/miles.jpg + github: https://github.com/mdmarti + email: miles.martinez@duke.edu + linkedin: https://www.linkedin.com/in/miles-martinez-00a496123/ + desc: >- + Miles is a fifth-year graduate student in Electrical and Computer + Engineering. He entered Duke through the CNAP program. He currently + develops and applies computational methods to understand the neural + bases of natural learning. When not doing research, he loves getting + outside and hiking or rock climbing — unless it's too cold, in which + case you can find him indoors cooking or playing games. + + - name: Ziyi Gong + title: Neurobiology Graduate Student + image: /images/gong.png + scholar: https://scholar.google.com/citations?user=zOKHGPgAAAAJ + github: https://github.com/gongziyida + email: ziyi.gong@duke.edu + desc: >- + Ziyi is a fourth-year PhD candidate in Neurobiology. He received his + B.S. in Computer Science with minors in Mathematics and Neuroscience + from the University of Pittsburgh. He is interested in building + mathematical models to summarize, explain, and predict phenomena + observed in brains. Currently, he is developing models to explain how + songbirds learn to sing. He previously worked with Dr. Nicolas Brunel + on the roles of inhibition and inhibitory plasticity in the learning + and memory of sequences. Outside of the lab he loves cooking and + exercising, and occasionally plays the xiao (Chinese flute). + + - name: David St-Amand + title: Neurobiology Graduate Student + image: https://scholars.duke.edu/file/i6468953/image_6468953.JPG + scholar: https://scholar.google.com/citations?user=Bc4NeD0AAAAJ + github: https://github.com/DavidStA95 + email: david.st-amand@duke.edu + desc: >- + David is a third-year graduate student in Neurobiology. He graduated + from McGill University, where he received his BS in Psychology and + his MS in Neuroscience. His research investigates how efficient + coding models can help us understand how information is computed in + the retina. Outside the lab, he likes to work out and play games. + + - name: Shiyang Pan + title: Electrical and Computer Engineering PhD Student + image: /images/shiyang.jpg + site: https://waaaaaterfall.github.io + github: https://github.com/WaAaaAterfall + email: shiyang.pan@duke.edu + linkedin: https://www.linkedin.com/in/shiyangpan + desc: >- + Shiyang is a graduate student in Electrical & Computer Engineering + at Duke. She received her Bsc in Applied Mathematics from University + of Liverpool and Xi'an Jiaotong-Liverpool University. Her research + focuses on developing computational models and real-time methods to + understand the activity of large-scale neural populations. When not + doing research she enjoys music, reading, and creative writing. + + - name: Caitlin Lewis + title: Electrical & Computer Engineering PhD Student + image: /images/caitlin.jpg + github: https://github.com/clewis7 + email: caitlin.lewis@duke.edu + linkedin: https://www.linkedin.com/in/caitlinllewis/ + desc: >- + Caitlin is a second-year graduate student in Electrical & Computer + Engineering at Duke. She received her B.S. in Computer Science and + Statistics from the University of North Carolina at Chapel Hill. Her + research focuses on developing computational models and open-source + software tools for real-time analysis and visualization of large-scale + neural data. Outside of the lab, she enjoys reading and playing + pickleball with friends. + + # Former graduate students + - name: Kelsey McDonald + current: false + years: 2016-2021 + outcome: Data Scientist, Labcorp Drug Development + + - name: Robert Gramer + current: false + url: https://www.massgeneral.org/neurosurgery/doctors/current-residents + years: 2016-2017 + notes: 3rd year medical student + outcome: Neurosurgical Resident, Massachusetts General Hospital + + - name: Achint Kumar + current: false + url: https://achintzeus1994.github.io + years: 2021-2022 + + - name: Na Young Jun + current: false + years: 2017-2022 + outcome: Meta Reality Labs + + - name: Pranjal Gupta + current: false + years: 2018-2024 + outcome: data scientist + + - name: Kevin O'Neill + current: false + url: https://kevingoneill.github.io + years: 2018-2024 + outcome: postdoc, University College London + + - name: Raphael Geddert + current: false + years: 2019-2024 + outcome: data scientist, Gilead Sciences + + - name: Daniela de Albuquerque + current: false + url: https://dannyfa.github.io/ + years: 2020-2025 + outcome: MS4, Duke University + + - name: Liz O'Gorman + current: false + years: 2022-2025 + +research_associates: + - name: Lun (Sam) Yin + current: false + years: 2017-2020 + outcome: Emory Biostatistics (PhD program) + + - name: Jack Goffinet + current: false + url: https://scholar.google.com/citations?user=-oXW2RYAAAAJ&hl=en + years: 2018-2020 + outcome: Duke Computer Science (PhD program) + + - name: Qian Kuang + current: false + years: 2017-2018 + + - name: Shariq Iqbal + current: false + url: https://shariqiqbal2810.github.io + years: 2015-2017 + outcome: USC Computer Science (PhD) → Deepmind + + - name: Xin (Cindy) Chen + current: false + years: 2016-2017 + outcome: Data Engineer (Citadel) + + - name: Abhishek Upadhyaya Ghimire + current: false + url: https://abhishekupadhyaya.github.io/ + years: 2016-2017 + outcome: Cloud Security Engineer (Cisco) + + - name: Athelia Rosa Paulli + current: false + years: 2016-2017 + outcome: UCLA → Children's National Hospital + +undergraduates: + - name: Christopher Zhou + current: false + years: 2022-2025 + + - name: Sara Liszeski + current: false + years: 2021-2023 + outcome: Columbia Medical School + + - name: Dominic Tanzillo + current: false + url: https://dominictanzillo.github.io/ + years: 2020-2021 + outcome: Duke Medical School + + - name: Daniel Sprague + current: false + url: https://linkedin.com/in/daniel-sprague-yutaka + years: 2020-2021 + outcome: Harvard Neurobiology + + - name: Chaichontat Sriworarat (Richard) + current: false + url: https://github.com/chaichontat/ + years: 2019-2021 + outcome: Janelia Joint Graduate Program + + - name: Sujal Manojar + current: false + url: https://www.sujalmanohar.com/ + years: 2020 + outcome: 'Hart Leadership Fellow → Baylor College of Medicine' + + - name: Raymond Chen + current: false + years: 2019 + notes: Huang Fellow + + - name: Thomas Li + current: false + url: http://thomasli.me/ + years: 2018 + outcome: Vanderbilt Medical School + + - name: Andrew Bartuska + current: false + url: https://www.linkedin.com/in/andrew-bartuska-649917121 + years: 2015-2016 + notes: Senior Thesis + outcome: Harvard Medical School diff --git a/_layouts/home.html b/_layouts/home.html index e39fcdc..f3602e9 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,7 +2,7 @@ {% include head.html %} - + {% include navbar.html %} Duke School of Medicine, Department of Neurobiology
diff --git a/css/people.css b/css/people.css index e744df6..2ce70ab 100644 --- a/css/people.css +++ b/css/people.css @@ -28,10 +28,6 @@ div.img-div { max-width: 900px; } -.col-md-5 { - font-size: 0.8em; -} - /* Brand-colored buttons for SVG-based social icons (Google Scholar, Bluesky, ORCID). Uses its own class to avoid inheriting btn-social-icon's > :first-child rules, which were designed for the diff --git a/people.html b/people.html index dba5b43..450f995 100644 --- a/people.html +++ b/people.html @@ -6,6 +6,8 @@ extra_head: '' --- {% assign people = site.data.people %} +{% assign roles = "postdocs|graduate_students|research_associates|undergraduates" | split: "|" %} +{% assign labels = "Postdocs|Graduate Students|Research Associates|Undergraduate Students" | split: "|" %}

Principal Investigator:


@@ -13,89 +15,36 @@

Principal Investigator:

{% include person.html person=people.pi %}
-{% if people.current.postdocs.size > 0 %} -

Postdocs:

-
-
- {% for person in people.current.postdocs %} - {% include person.html person=person %} - {% endfor %} -
-{% endif %} - -{% if people.current.graduate_students.size > 0 %} -

Graduate Students:

-
-
- {% for person in people.current.graduate_students %} - {% include person.html person=person %} - {% endfor %} -
-{% endif %} - -{% if people.current.research_associates.size > 0 %} -

Research Associates:

-
-
- {% for person in people.current.research_associates %} - {% include person.html person=person %} - {% endfor %} -
-{% endif %} - -{% if people.current.undergraduates.size > 0 %} -

Undergraduate Students:

-
-
- {% for person in people.current.undergraduates %} - {% include person.html person=person %} - {% endfor %} -
-{% endif %} +{% for role in roles %} + {% assign label = labels[forloop.index0] %} + {% assign all = people[role] %} + {% assign current = all | where_exp: "p", "p.current != false" %} + {% if current.size > 0 %} +

{{ label }}:

+
+
+ {% for person in current %} + {% include person.html person=person %} + {% endfor %} +
+ {% endif %} +{% endfor %}

Former members

-{% if people.former.postdocs.size > 0 %} -

Postdocs:

-
    -{% for person in people.former.postdocs %} -
  • - {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %} -
  • -{% endfor %} -
-{% endif %} - -{% if people.former.graduate_students.size > 0 %} -

Graduate Students:

-
    -{% for person in people.former.graduate_students %} -
  • - {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %} -
  • -{% endfor %} -
-{% endif %} - -{% if people.former.research_associates.size > 0 %} -

Research Associates:

-
    -{% for person in people.former.research_associates %} -
  • - {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %} -
  • -{% endfor %} -
-{% endif %} - -{% if people.former.undergraduates.size > 0 %} -

Undergraduates:

-
    -{% for person in people.former.undergraduates %} -
  • - {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %} -
  • +{% assign former_labels = "Postdocs|Graduate Students|Research Associates|Undergraduates" | split: "|" %} +{% for role in roles %} + {% assign label = former_labels[forloop.index0] %} + {% assign former = people[role] | where: "current", false %} + {% if former.size > 0 %} +

    {{ label }}:

    +
      + {% for person in former %} +
    • + {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %}{% if person.years %} ({{ person.years }}{% if person.notes %}; {{ person.notes }}{% endif %}){% endif %}{% if person.outcome %} → {{ person.outcome }}{% endif %} +
    • + {% endfor %} +
    + {% endif %} {% endfor %} -
-{% endif %} From 0400b8367a8a56f95a608f62a79240c261f9efbb Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 12 May 2026 13:59:00 +0000 Subject: [PATCH 07/12] =?UTF-8?q?home:=20pin=20the=20[=CE=BB]=20background?= =?UTF-8?q?=20to=20a=20viewport-fixed=20div?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The body-as-background-host approach kept getting tripped up: in quirks mode body's box was viewport-sized so background-size: 80% worked, but in standards mode the body grows to content height (navbar + DUSOM image floats), can be wider than viewport because of the float clearance, and `background-size: contain` against the oversized body pushes the SVG center past the viewport edge — visible as the "P[λ]ab" being clipped on the right. Move the background to a position:fixed inset:0 div with z-index:-1 so it's always exactly viewport-sized and centered in the visible area, regardless of what the body does. Drop the body's min-height trick. inset:0 spelled as top/right/bottom/left longhand since vnu's CSS rules don't recognise the (newer-but-standard) inset shorthand. --- _layouts/home.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index f3602e9..f478bba 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,7 +2,10 @@ {% include head.html %} - + + +
{% include navbar.html %} Duke School of Medicine, Department of Neurobiology