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 { blogSchema } from "./_schemas";
const blogCollection = defineCollection({
const blog = defineCollection({
schema: blogSchema,
});
export const collections = {
blog: blogCollection,
};
export const collections = { blog };