Skip to content

Commit e7f214e

Browse files
Mazizovaclaude
andauthored
DuckDB × MySQL Day: add Peter Zaitsev (Percona) to speakers without a scheduled talk (#155)
Speaker cards without a scheduled talk now link to the speaker's profile. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 242e5a0 commit e7f214e

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎content/events/duckdb-mysql-day/index.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ speakers:
3737
- {name: "Roman Nozdrin", company: "MariaDB", role: "Architect / Staff Developer", photo: "roman-nozdrin.webp", profile: "/resources/member-directory/people/roman-nozdrin/"}
3838
- {name: "Daniel Guzmán Burgos", company: "dbtrail", role: "Creator", photo: "daniel-guzman-burgos.jpg", profile: "/resources/member-directory/people/daniel-guzman-burgos/"}
3939
- {name: "Evgeniy Patlan", company: "Percona", role: "Sr. Build/Release Engineer", photo: "evgeniy-patlan.jpg", profile: "/resources/member-directory/people/evgeniy-patlan/"}
40+
- {name: "Peter Zaitsev", company: "Percona", role: "Co-Founder", photo: "peter-zaitsev.jpg", profile: "/resources/member-directory/people/peter-zaitsev/"}
4041
schedule_label: "Approximate schedule · EST / CET"
4142
schedule:
4243
- {est: "10:00–10:30", cet: "16:00–16:30", track: "Opening talk", title: "Twenty Years of Bolting Analytics onto MySQL: Will DuckDB Finally Make It HTAP?", speaker: "Vadim Tkachenko"}
46.9 KB
Loading

‎layouts/events/duckdb-mysql-day.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ <h1>DuckDB <span class="dmd-cross">×</span><br>MySQL <span class="dmd-gradient"
5555
<div class="dmd-speaker-grid{{ if gt (len $speakers) 4 }} dmd-speaker-grid--many{{ end }}">
5656
{{ range $i, $s := $speakers }}
5757
{{ $photo := $page.Resources.Get $s.photo }}
58-
{{ $ti := $i }}{{ range $k, $t := $page.Params.schedule }}{{ if eq $t.speaker $s.name }}{{ $ti = $k }}{{ end }}{{ end }}
59-
<a class="dmd-person" href="#talk-{{ $ti }}" aria-label="View talk by {{ $s.name }}">
58+
{{ $ti := -1 }}{{ range $k, $t := $page.Params.schedule }}{{ if eq $t.speaker $s.name }}{{ $ti = $k }}{{ end }}{{ end }}
59+
{{/* Speakers without a scheduled talk yet link to their profile instead. */}}
60+
<a class="dmd-person" href="{{ if ge $ti 0 }}#talk-{{ $ti }}{{ else if $s.profile }}{{ $s.profile }}{{ else }}#speakers{{ end }}" aria-label="{{ if ge $ti 0 }}View talk by {{ $s.name }}{{ else }}View profile of {{ $s.name }}{{ end }}">
6061
<div class="dmd-portrait">{{ with $photo }}{{ $img := .Fill "420x420 jpg q85" }}<img src="{{ $img.RelPermalink }}" alt="{{ $s.name }}" width="420" height="420" loading="lazy">{{ else }}{{ $ini := "" }}{{ range split $s.name " " }}{{ $ini = printf "%s%s" $ini (substr . 0 1) }}{{ end }}<span class="dmd-portrait-initials" aria-hidden="true">{{ $ini }}</span>{{ end }}<span class="dmd-photo-index">{{ printf "%02d" (add $i 1) }} / SPEAKER</span><span class="dmd-person-arrow">↗</span></div>
6162
<div class="dmd-person-text"><p class="dmd-company">{{ $s.company }}</p><h3>{{ $s.name }}</h3><p class="dmd-role">{{ $s.role }}</p></div>
6263
</a>

0 commit comments

Comments
 (0)