删除本地content目录,改为由github获取
This commit is contained in:
@@ -5,8 +5,8 @@ export default defineContentConfig({
|
||||
docs: defineCollection({
|
||||
type: 'page',
|
||||
source: {
|
||||
repository: 'https://github.com/estel-li/markdown',
|
||||
include: 'docs/**',
|
||||
exclude: ['/web/**']
|
||||
},
|
||||
schema: z.object({
|
||||
rawbody: z.string(),
|
||||
@@ -21,8 +21,8 @@ export default defineContentConfig({
|
||||
blog: defineCollection({
|
||||
type: 'page',
|
||||
source: {
|
||||
repository: 'https://github.com/estel-li/markdown',
|
||||
include: 'blog/**',
|
||||
exclude: ['/web/**']
|
||||
},
|
||||
schema: z.object({
|
||||
rawbody: z.string(),
|
||||
|
Reference in New Issue
Block a user