fix(website): fix news sidebar
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import { defineCollection } from "astro:content";
|
||||
import { docsSchema } from "@astrojs/starlight/schema";
|
||||
import { blogSchema } from "starlight-blog/schema";
|
||||
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({ schema: docsSchema({ extend: (context) => blogSchema(context) }) })
|
||||
docs: defineCollection({
|
||||
loader: docsLoader(),
|
||||
schema: docsSchema({
|
||||
extend: (context) => blogSchema(context)
|
||||
})
|
||||
}),
|
||||
};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
slug: "news/2025-start"
|
||||
title: "2025 project goals"
|
||||
authors: [privatepuffin]
|
||||
date: 2025-01-30
|
||||
|
||||
Reference in New Issue
Block a user