refactor: rename blogCollection to blog

This commit is contained in:
satnaing
2023-01-30 12:10:04 +06:30
parent 27b9f6f8ad
commit f73f02e6e9
+2 -4
View File
@@ -1,10 +1,8 @@
import { defineCollection } from "astro:content"; import { defineCollection } from "astro:content";
import { blogSchema } from "./_schemas"; import { blogSchema } from "./_schemas";
const blogCollection = defineCollection({ const blog = defineCollection({
schema: blogSchema, schema: blogSchema,
}); });
export const collections = { export const collections = { blog };
blog: blogCollection,
};