mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: rename blogCollection to blog
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { defineCollection } from "astro:content";
|
||||
import { blogSchema } from "./_schemas";
|
||||
|
||||
const blogCollection = defineCollection({
|
||||
const blog = defineCollection({
|
||||
schema: blogSchema,
|
||||
});
|
||||
|
||||
export const collections = {
|
||||
blog: blogCollection,
|
||||
};
|
||||
export const collections = { blog };
|
||||
|
||||
Reference in New Issue
Block a user