diff options
| author | Joe Carstairs <me@joeac.net> | 2026-03-24 22:03:57 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-03-24 22:04:06 +0000 |
| commit | 46bc365021915874e12d667954c4bde72f7847f2 (patch) | |
| tree | 86d94073305b0697b957c05be68e937b18dc0d77 | |
| parent | 550d285a8b663d0a480642f3f38ff1347857cc04 (diff) | |
description is optional
| -rw-r--r-- | website/src/components/BaseHead.astro | 2 | ||||
| -rw-r--r-- | website/src/content.config.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/website/src/components/BaseHead.astro b/website/src/components/BaseHead.astro index d0b6943..360c4bb 100644 --- a/website/src/components/BaseHead.astro +++ b/website/src/components/BaseHead.astro @@ -1,7 +1,7 @@ --- interface Props { title: string; - description: string; + description?: string; image?: string; } diff --git a/website/src/content.config.ts b/website/src/content.config.ts index 1a2452d..133e56c 100644 --- a/website/src/content.config.ts +++ b/website/src/content.config.ts @@ -10,7 +10,7 @@ const blog = defineCollection({ schema: z.object({ title: z.string(), hidden: z.optional(z.boolean()), - description: z.string(), + description: z.optional(z.string()), pubDate: z.date(), updatedDate: z.optional(z.date()), }), |
