generated from avior/template-web-astro
Initial commit
This commit is contained in:
5
src/content/README.md
Normal file
5
src/content/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Content
|
||||
|
||||
Contains raw content for pages.
|
||||
|
||||
Mostly some static pages or blog posts.
|
15
src/content/config.ts
Normal file
15
src/content/config.ts
Normal file
@ -0,0 +1,15 @@
|
||||
// 1. Import utilities from `astro:content`
|
||||
// import { defineCollection, z } from 'astro:content'
|
||||
|
||||
// 2. Define your collection(s)
|
||||
// const docsCollection = defineCollection({
|
||||
// type: 'content',
|
||||
// schema: z.object({
|
||||
// title: z.string()
|
||||
// })
|
||||
// })
|
||||
// 3. Export a single `collections` object to register your collection(s)
|
||||
// This key should match your collection directory name in "src/content"
|
||||
// export const collections = {
|
||||
// 'docs': docsCollection,
|
||||
// };
|
Reference in New Issue
Block a user