💄 fix alot of styling regarding blogpages

This commit is contained in:
SindreKjelsrud 2023-09-25 14:45:37 +02:00
parent 912519d0c6
commit abde34ee29
6 changed files with 54 additions and 54 deletions

View file

@ -9,12 +9,7 @@ const blog = defineCollection({
pubDate: z
.string()
.or(z.date())
.transform((val) => new Date(val)),
updatedDate: z
.string()
.optional()
.transform((str) => (str ? new Date(str) : undefined)),
heroImage: z.string().optional(),
.transform((val) => new Date(val))
}),
});