mirror of
https://github.com/TheTaz25/denis.ergin.git
synced 2025-07-12 22:08:48 +00:00
chore: move config for content into new location according to astro 5 upgrade
This commit is contained in:
parent
4b7f9f9414
commit
dcd9a85391
1 changed files with 0 additions and 0 deletions
|
@ -1,24 +0,0 @@
|
|||
import { defineCollection, z } from 'astro:content';
|
||||
|
||||
const skillCollection = defineCollection({
|
||||
type: 'data',
|
||||
schema: z.object({
|
||||
skills: z.array(z.string())
|
||||
}),
|
||||
});
|
||||
|
||||
const dhbwCollection = defineCollection({
|
||||
type: 'content',
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
tags: z.array(z.string()),
|
||||
staticPath: z.string(),
|
||||
show: z.optional(z.boolean()),
|
||||
order: z.number(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = {
|
||||
'skills': skillCollection,
|
||||
'dhbw': dhbwCollection,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue