Skip to content
Open
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
50 changes: 50 additions & 0 deletions assets/css/extended/events.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,56 @@ a.session-title:hover {
flex-wrap: wrap;
}

/* ── Attendees ───────────────────────────────────────────────────────────── */
.attendees {
margin-top: 2.5rem;
}

.attendees-title {
font-size: 1.3rem;
font-weight: 700;
margin: 0 0 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--border);
}

.attendee-list {
list-style: none;
padding: 0;
margin: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
gap: 0.4rem 1rem;
}

.attendee-item {
display: flex;
align-items: baseline;
gap: 0.5rem;
}

.attendee-name {
font-size: 0.95rem;
font-weight: 600;
}

a.attendee-name {
text-decoration: underline;
text-decoration-color: var(--border);
text-underline-offset: 2px;
color: inherit;
}

a.attendee-name:hover {
text-decoration-color: var(--primary);
}

.attendee-affiliation {
font-size: 0.8rem;
font-style: italic;
color: var(--secondary);
}

/* ── Event banner ────────────────────────────────────────────────────────── */
.event-banner {
margin: 1.5rem 0;
Expand Down
19 changes: 19 additions & 0 deletions content/events/simple-py.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,25 @@ schedule:
duration: "2 hours 45 mins with coffee"
- time: "5:30"
title: "Close out"
attendees:
# Each entry is either a plain name or a map with name/affiliation/link.
- name: "Henry Schreiner"
affiliation: "Princeton University"
link: "https://iscinumpy.dev"
- name: "C.A.M. Gerlach"
- name: "Cristian Le"
affiliation: "Red Hat"
- name: "Ethan Muldoon"
- name: "Iason Krommydas"
- name: "Katelyn FitzGerald"
affiliation: "NSF National Center for Atmospheric Research"
- name: "Kurt McKee"
affiliation: "University of Chicago, Globus"
- name: "Lundy Bernard"
- name: "Maryam Hosseini"
- name: "Matt McCormick"
- name: "Matthew Feickert"
- name: "Yaping Yang"
---

SIMPLE-Py is a two-day hands-on workshop on Scientific Python packaging,
Expand Down
19 changes: 19 additions & 0 deletions layouts/events/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,25 @@ <h2 class="schedule-day-title">{{ .day }}</h2>
</section>
{{- end }}
</div>
{{- end }} {{- with .Params.attendees }}
<div class="attendees">
<h2 class="attendees-title">Attendees</h2>
<ul class="attendee-list">
{{- range . }} {{- $name := . }}{{ $affiliation := "" }}{{ $link := "" }}
{{- if reflect.IsMap . }}{{ $name = .name }}{{ $affiliation = .affiliation
}}{{ $link = .link }}{{- end }}
<li class="attendee-item">
{{- if $link }}
<a class="attendee-name" href="{{ $link }}">{{ $name }}</a>
{{- else }}
<span class="attendee-name">{{ $name }}</span>
{{- end }} {{- with $affiliation }}<span class="attendee-affiliation"
>{{ . }}</span
>{{- end }}
</li>
{{- end }}
</ul>
</div>
{{- end }}
</article>
{{- end }}