Projects
This commit is contained in:
@@ -29,6 +29,18 @@ export default defineContentConfig({
|
||||
date: z.string()
|
||||
})
|
||||
}),
|
||||
|
||||
projects: defineCollection({
|
||||
type: 'page',
|
||||
source: 'projects/**/**.md',
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
slug: z.string(),
|
||||
description: z.string(),
|
||||
link: z.string().optional(),
|
||||
tech: z.array(z.string()).default([])
|
||||
})
|
||||
}),
|
||||
},
|
||||
markdown: {
|
||||
tags: {
|
||||
|
||||
Reference in New Issue
Block a user