feat: custom pages support

This commit is contained in:
grassblock 2025-05-04 11:42:46 +08:00
parent 7e5f8ce06f
commit 9411ec22c1
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,7 @@
import { z } from 'astro:content';
export const pages = z.object({
title: z.string(),
description: z.string(),
heroImage: z.string().optional()
});

View file

@ -0,0 +1,5 @@
---
title: 'Test Page'
description: 'This is a test page'
---
testestestest