mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-25 07:40:27 +01:00
feat: ajouter la gestion de l'éducation avec des fichiers de configuration et des ressources associées
This commit is contained in:
@@ -60,6 +60,17 @@ export default defineContentConfig({
|
||||
description: z.string(),
|
||||
tags: z.array(z.string())
|
||||
})
|
||||
}),
|
||||
education: defineCollection({
|
||||
type: 'data',
|
||||
source: 'education/*.md',
|
||||
schema: z.object({
|
||||
degree: z.string(),
|
||||
institution: z.string(),
|
||||
startDate: z.string(),
|
||||
endDate: z.string().optional(),
|
||||
location: z.string()
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user