diff --git a/src/content.config.ts b/src/content.config.ts index 18d84bd..7f81882 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -90,6 +90,7 @@ const spotlight = defineCollection({ image: image(), ogImage: image(), date: z.coerce.date(), + interview: z.url().optional(), urlWebsite: z.url().optional(), urlGitHub: z.url().optional(), urlMastodon: z.url().optional(), diff --git a/src/pages/spotlight/[spotlightId]/index.astro b/src/pages/spotlight/[spotlightId]/index.astro index 4c453a1..d852822 100644 --- a/src/pages/spotlight/[spotlightId]/index.astro +++ b/src/pages/spotlight/[spotlightId]/index.astro @@ -37,6 +37,7 @@ const { role, date, ogImage, + interview, urlWebsite, urlGitHub, urlMastodon, @@ -65,6 +66,18 @@ const { Content, headings } = await render(entry);

{role}

+
+
+ +
+ Interview + 0:00 +
+
+