diff --git a/src/components/Podcast.astro b/src/components/Podcast.astro index ac812c57..343e984f 100644 --- a/src/components/Podcast.astro +++ b/src/components/Podcast.astro @@ -9,7 +9,7 @@ export interface Props { } const { podcast, episodeData } = Astro.props; -var url = 'podcast/' + slugify(podcast.title[0]); +var url = slugify(podcast.title[0]); function slugify(str) { str = str.replace(/^\s+|\s+$/g, '');