Added redirects

This commit is contained in:
Michael
2024-10-16 07:30:39 +00:00
parent bf91b37f81
commit 4a776d6a4b
8 changed files with 65 additions and 4 deletions
+9 -1
View File
@@ -32,4 +32,12 @@ const projects = defineCollection({
}),
});
export const collections = { blog, work, projects };
const redirects = defineCollection({
type: "content",
schema: z.object({
title: z.string(),
redirect: z.string(),
}),
});
export const collections = { blog, work, projects, redirects };