File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,21 @@ export async function GET({ params, request }) {
1313 "Mastodon URL" ,
1414 ] ;
1515
16+ const exclude = [
17+ "sebastian-ramirez" ,
18+ "savannah-ostrowski" ,
19+ "nerea-luis" ,
20+ "petr-baudis" ,
21+ "brett-cannon" ,
22+ ] ;
23+
1624 const rows : string [ ] [ ] = [ ] ;
1725
1826 for ( const speaker of speakers ) {
27+ if ( exclude . includes ( speaker . id ) ) continue ;
28+
1929 const {
2030 name,
21- avatar,
22- homepage,
23- gitx_url,
2431 twitter_url,
2532 linkedin_url,
2633 bluesky_url,
@@ -34,20 +41,16 @@ export async function GET({ params, request }) {
3441
3542 for ( const session of sessions ) {
3643 if ( session ) {
44+ const speaker_page = `https://ep2025.europython.eu/speaker/${ speaker . id } ` ;
3745 rows . push ( [
3846 session . data . title || "" ,
3947 name ,
4048 `https://ep2025-buffer.ep-preview.click/media/social-${ speaker . id } .png` ,
41- twitter_url ||
42- linkedin_url ||
43- mastodon_url ||
44- gitx_url ||
45- homepage ||
46- `https://ep2025.europython.eu/speaker/${ speaker . id } ` ,
47- twitter_url ?? "" ,
48- linkedin_url ?? "" ,
49- bluesky_url ?? "" ,
50- mastodon_url ?? "" ,
49+ twitter_url || linkedin_url || mastodon_url || speaker_page ,
50+ twitter_url ?? speaker_page ,
51+ linkedin_url ?? speaker_page ,
52+ bluesky_url ?? speaker_page ,
53+ mastodon_url ?? speaker_page ,
5154 ] ) ;
5255 }
5356 }
You can’t perform that action at this time.
0 commit comments