Skip to content

Commit

Permalink
Fix blog
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Jan 15, 2025
1 parent fcc4d9a commit 8618c1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { defineCollection } from 'astro:content';
import { docsLoader } from '@astrojs/starlight/loaders';
import { docsSchema } from '@astrojs/starlight/schema';
import { blogSchema } from 'starlight-blog/schema'

export const collections = {
docs: defineCollection({
loader: docsLoader(),
schema: docsSchema({
extend: (context) => blogSchema(context)
})
Expand Down

0 comments on commit 8618c1c

Please sign in to comment.