更改页面的内容
This commit is contained in:
@@ -2,15 +2,11 @@ import { defineContentConfig, defineCollection, z } from '@nuxt/content'
|
||||
|
||||
export default defineContentConfig({
|
||||
collections: {
|
||||
landing: defineCollection({
|
||||
type: 'page',
|
||||
source: 'index.md'
|
||||
}),
|
||||
docs: defineCollection({
|
||||
type: 'page',
|
||||
source: {
|
||||
include: '**',
|
||||
exclude: ['index.md']
|
||||
exclude: ['/web/**']
|
||||
},
|
||||
schema: z.object({
|
||||
links: z.array(z.object({
|
||||
|
Reference in New Issue
Block a user