Skip to content

Commit b0ab6cb

Browse files
committed
Fix slugs.
1 parent d8fd696 commit b0ab6cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/schedule/speakers.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const speakers = Astro.props.speakers
2020

2121
{
2222
speakers.map((speaker, index) => (
23-
<a href={`/speaker/${speaker.slug}`} class="inline">
23+
<a href={`/speaker/${speaker.id}`} class="inline">
2424
{speaker.data.name}
2525
{index < speakers.length - 1 ? ", " : ""}
2626
</a>

src/components/session-speakers.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const speakers = await getEntries(
2121
{
2222
speakers.map((speaker, index) => (
2323
<span class="inline">
24-
<a href={`/speaker/${speaker.slug}`} class="underline">
24+
<a href={`/speaker/${speaker.id}`} class="underline">
2525
{speaker.data.name}
2626
</a>
2727
{index < speakers.length - 1 ? ", " : ""}

0 commit comments

Comments
 (0)