feat(podcast): add drafts for the initial episodes

This commit is contained in:
Oliver Davies 2023-11-06 21:48:21 +00:00
parent 8bc240aa6a
commit 23d9e92a5d
6 changed files with 78 additions and 6 deletions

View file

@ -20,6 +20,15 @@ const dailyEmailCollection = defineCollection({
}),
});
const podcastEpisodeCollection = defineCollection({
schema: z.object({
date: z.date(),
draft: z.boolean().optional(),
guests: z.array(z.string()),
topic: z.string(),
}),
});
const talkCollection = defineCollection({
schema: z.object({
description: z.string(),
@ -65,6 +74,7 @@ const testimonialCollection = defineCollection({
export const collections = {
"daily-email": dailyEmailCollection,
"podcast-episode": podcastEpisodeCollection,
blog: blogCollection,
talk: talkCollection,
testimonial: testimonialCollection,

View file

@ -0,0 +1,9 @@
---
date: 2023-11-06
topic: Retrofit
guests:
- Matt Glaman
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.

View file

@ -0,0 +1,7 @@
---
date: 2023-11-07
topic: Drupal's Alternate Realities
guests:
- Panagiotis Moutsopoulos
draft: true
---