initial commit
This commit is contained in:
commit
61511ed28c
28 changed files with 5210 additions and 0 deletions
9
src/content/blog/_schemas.ts
Normal file
9
src/content/blog/_schemas.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { z } from 'astro:content';
|
||||
|
||||
export const blogs = z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
pubDate: z.coerce.date(),
|
||||
updatedDate: z.coerce.date().optional(),
|
||||
heroImage: z.string().optional()
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue