mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
projects page and unicord post
This commit is contained in:
@@ -15,5 +15,19 @@ export default defineContentConfig({
|
||||
hidden: z.boolean().optional(),
|
||||
}),
|
||||
}),
|
||||
projects: defineCollection({
|
||||
type: 'page',
|
||||
source: {
|
||||
include: 'projects/**/*.md',
|
||||
prefix: '',
|
||||
},
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
href: z.string().optional(),
|
||||
hidden: z.boolean().optional(),
|
||||
image: z.string().optional(),
|
||||
}),
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user