initial commit
This commit is contained in:
commit
61511ed28c
28 changed files with 5210 additions and 0 deletions
11
src/content/config.ts
Normal file
11
src/content/config.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { defineCollection } from 'astro:content';
|
||||
import { blogs } from './blog/_schemas';
|
||||
|
||||
const blogCollection = defineCollection({
|
||||
type: 'content',
|
||||
schema: blogs,
|
||||
});
|
||||
|
||||
export const collections = {
|
||||
'blog': blogCollection,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue