Rename blog collection as posts

This commit is contained in:
prototypa
2023-01-21 21:37:09 -05:00
parent b3dd2b5505
commit b1c6c91989
8 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import { z, defineCollection } from 'astro:content';
const blog = defineCollection({
const posts = defineCollection({
schema: z.object({
title: z.string(),
description: z.string().optional(),
@ -23,5 +23,5 @@ const blog = defineCollection({
});
export const collections = {
blog: blog,
posts: posts,
};