💄 fix alot of styling regarding blogpages
This commit is contained in:
parent
912519d0c6
commit
abde34ee29
6 changed files with 54 additions and 54 deletions
|
|
@ -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))
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue