Skip to content

Commit

Permalink
🐎 template for past members
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaS08 committed Nov 13, 2024
1 parent 96143bb commit 346c9cb
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 1 deletion.
67 changes: 67 additions & 0 deletions assets/ejs/people_past.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
```{=html}

<div class="quarto-listing quarto-listing-container-grid">

<div class="list grid quarto-listing-cols-4">

<% for (const item of items) { %>
<div class="g-col-1 listing-box">
<div class="quarto-grid-item card h-100 card-left">
<img src="<%- item.image %>" alt="<%- item.name %>" class="card-img-top"/>
<div class="card-body post-contents">
<div style="text-align: center;">
<div class="listing-box-title">
<%= item.name %><br>
</div>
<div class="socialWrap">
<% if (item.github) { %>
<a href="https://github.com/<%= item.github %>" class="bi bi-github"></a>
<%} %>
<% if (item.www) { %>
<a href="<%= item.www %>" class="bi bi-house-fill"></a>
<%} %>
<% if (item.twitter) { %>
<a href="https://x.com/<%= item.twitter %>" class="bi bi-twitter"></a>
<%} %>
<% if (item.bluesky) { %>
<a href="https://bsky.app/profile/<%= item.bluesky %>" class="about-link" style="text-decoration:none" rel="" target="">
<i class="bi bi-bluesky"></i>
<span><i class="fa-brands fa-bluesky"></i></span>
</a>
<%} %>
<% if (item.orcid) { %>
<a href="https://orcid.org/<%= item.orcid %>" class="about-link" style="text-decoration:none" rel="" target="">
<i class="bi bi-orcid"></i>
<span><i class="fa-brands fa-orcid" aria-label="orcid"></i></span>
</a>
<%} %>
<% if (item.googlescholar) { %>
<a href="https://scholar.google.com/citations?user=<%= item.googlescholar %>&hl=en" class="about-link" style="text-decoration:none" rel="" target="">
<i class="bi bi-google-scholar"></i>
<span><i class="fa-brands fa-google-scholar" aria-label="googlescholar"></i></span>
</a>
<%} %>
</div>
</div>
</div>
</div>
</div>
<% } %>

</div>
</div>

```
9 changes: 8 additions & 1 deletion people.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ listing:
template: assets/ejs/people_current.ejs
contents: people/people_current.yml
sort: name
- id: past_members
template: assets/ejs/people_past.ejs
contents: people/people_past.yml
sort: name
toc-location: right
---

Expand All @@ -15,4 +19,7 @@ toc-location: right
::: {#current_members}
:::

## Past members
## Past members

::: {#past_members}
:::
27 changes: 27 additions & 0 deletions people/people_past.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

- name: "Andrew P. Beckerman"
description: "Ecologist (sometimes)"
image: people/mugshots/abeckerman.jpg
email: andrew.p.beckerman@sheffield.ac.uk
github: andbeck
orcid: 0000-0002-4797-9143
twitter: beckerhopper
- name: "Alain Danet"
description: "Stability of complex food webs"
image: people/mugshots/adanet.jpg
github: alaindanet
orcid: 0000-0002-1592-9483
www: https://alaindanet.github.io/
googlescholar: iijI6msAAAAJ
email: a.h.danet@sheffield.ac.uk
- name: "Tanya Strydom"
description: "🦖 DINOSAUR food webs"
image: people/mugshots/tstrydom.png
email: tanya.strydom@sheffield.ac.uk
github: TanyaS08
bluesky: tanyadoesscience.bsky.social
orcid: 0000-0001-6067-1349
www: https://tanyadoesscience.com/
- name: "Alina Smith"
description: ""
image: people/mugshots/asmith.jpg

0 comments on commit 346c9cb

Please sign in to comment.