Add Links page, collection, and nav entry
CI / ci (push) Successful in 29s
CI / ci (pull_request) Successful in 28s
Docker / docker (pull_request) Successful in 17s

This commit is contained in:
2026-03-07 18:39:41 +01:00
parent 162100cd25
commit 321c4c6f04
8 changed files with 424 additions and 1 deletions
+13 -1
View File
@@ -29,4 +29,16 @@ const coffee = defineCollection({
}),
});
export const collections = { blog, coffee };
const links = defineCollection({
type: "content",
schema: z.object({
title: z.string(),
url: z.string().url(),
description: z.string(),
category: z.string().optional(),
date: z.coerce.date().optional(),
draft: z.boolean().optional().default(false),
}),
});
export const collections = { blog, coffee, links };