Skip to content
Merged
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: 1 addition & 2 deletions _css/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@

.profile-vitae {
font-style: italic;
margin-bottom: 2rem;
padding: 0 1rem;
margin-bottom: 1rem;
}

.profile-content {
Expand Down
1 change: 1 addition & 0 deletions _layout/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/d254f2b744.js" crossorigin="anonymous"></script>
{{if hasmath}} {{insert head_katex.html }} {{end}}
{{if hascode}} {{insert head_highlight.html }} {{end}}
{{insert style.html}}
Expand Down
3 changes: 3 additions & 0 deletions people/kevin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ vitae="Benevolant dictator"
portrait="/assets/kevin_headshot.png"
email="kevin.bonham@tuftsmedicine.org"
joined = Date(2025,02,01)
github = "kescobo"
+++

Kevin is interested in all things computational,
and will bend your ear about `git`, `julia`,
or fermentation.


1 change: 1 addition & 0 deletions people/test_person.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ using Dates
name = "Arthur Dent"
title = "Hitchhiker"
email = "arthur@earth.co.uk"
github = "adent"
joined = Date(2025,02,24)
alumn = true
+++
1 change: 1 addition & 0 deletions people/yehor.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title="Summer intern"
vitae="Deep learner"
portrait="/assets/yehor_headshot.png"
email="ymishchyriak@wesleyan.edu"
github="yehor-Mishchyriak"
joined = Date(2025,06,01)
+++

Expand Down
12 changes: 11 additions & 1 deletion utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ function hfun_list_people()
node("h2", node("a", href=p.href, p.name)),
node("div", class="card-title", p.title),
node("div", class="card-vitae", p.vitae),
node("div", class="card-email", node("a", href="mailto:$(p.email)", p.email)),
node("div", class="card-github",
node("a", href=joinpath("https://github.com", p.github),
node("i", class="fa-brands fa-github-square"),
" $(p.github)")
),
node("p", node("a", href=p.href,
node("button", class="card-button", "Details")
)
Expand All @@ -49,6 +53,7 @@ function person_info(rp)
portrait=getvarfrom(:portrait, rp, "/assets/portrait_placeholder.png"),
vitae=getvarfrom(:vitae, rp),
alumn=getvarfrom(:alumn, rp, false),
github=getvarfrom(:github, rp),
href="/$(splitext(rp)[1])",
tags=get_page_tags(rp)
)
Expand Down Expand Up @@ -78,6 +83,11 @@ function hfun_person_header()
node("h1", class="profile-name", person.name),
node("div", class="profile-title", person.title),
node("div", class="profile-vitae", person.vitae),
node("div", class="card-github",
node("a", href=joinpath("https://github.com", person.github),
node("i", class="fa-brands fa-github-square"),
" $(person.github)")
),
node("div", class="profile-email",
node("a", href="mailto:$(person.email)", person.email)
),
Expand Down