diff --git a/src/content/podcast-episode/1-retrofit.md b/src/content/podcast-episode/1-retrofit.md index 44003465..e5e9bb35 100644 --- a/src/content/podcast-episode/1-retrofit.md +++ b/src/content/podcast-episode/1-retrofit.md @@ -1,5 +1,5 @@ --- -date: 2023-11-06 +date: 2023-11-10 topic: Retrofit guests: - Matt Glaman @@ -24,7 +24,6 @@ links: - - Matt on Twitch - https://www.twitch.tv/mglaman -draft: true --- In this episode, Oliver is joined by Matt Glaman to discuss Retrofit. A tool that makes it easier to upgrade Drupal websites by allowing legacy Drupal code to run on any version of Drupal. diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 7d1825f9..8b1c7f06 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -34,6 +34,10 @@ const footerLinks = [ title: "Talks", href: "/talks", }, + { + title: "Podcast", + href: "/podcast", + }, { title: "Daily list", href: "/daily", diff --git a/src/layouts/PodcastEpisodeLayout.astro b/src/layouts/PodcastEpisodeLayout.astro new file mode 100644 index 00000000..c0402a4e --- /dev/null +++ b/src/layouts/PodcastEpisodeLayout.astro @@ -0,0 +1,24 @@ +--- +import AboutMe from "../components/AboutMe.astro"; +import BaseLayout from "./PageLayout.astro"; +import DailyEmailForm from "../components/DailyEmailForm.astro"; +import Markdown from "../components/Markdown.astro"; + +const { title } = Astro.props.frontmatter || Astro.props; +--- + + + + + + + + + + + + + + + + diff --git a/src/pages/podcast/[slug].astro b/src/pages/podcast/[slug].astro index 544c4681..a8233216 100644 --- a/src/pages/podcast/[slug].astro +++ b/src/pages/podcast/[slug].astro @@ -1,6 +1,6 @@ --- -import Layout from "~/layouts/Layout.astro"; import Markdown from "~/components/Markdown.astro"; +import Layout from "~/layouts/PodcastEpisodeLayout.astro"; import { getCollection } from "astro:content"; export async function getStaticPaths() { diff --git a/src/pages/podcast/index.astro b/src/pages/podcast/index.astro index 6ff19cc0..4f655c4c 100644 --- a/src/pages/podcast/index.astro +++ b/src/pages/podcast/index.astro @@ -18,9 +18,9 @@ const parser = new MarkdownIt(); --- - {filteredEpisodes.isEmpty() ? ( - Coming soon... - ) : ( + A weekly podcast about Drupal, open-source, and related software development topics. + + {filteredEpisodes && ( <> Episodes @@ -33,6 +33,10 @@ const parser = new MarkdownIt(); + + ))} >
Coming soon...
A weekly podcast about Drupal, open-source, and related software development topics.