From f73f02e6e9a1c9f772f9c65fa74a5cb334d7b7b8 Mon Sep 17 00:00:00 2001 From: satnaing Date: Mon, 30 Jan 2023 12:10:04 +0630 Subject: [PATCH] refactor: rename blogCollection to blog --- src/content/config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/content/config.ts b/src/content/config.ts index 525824b..f21b754 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -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 };