Currently, I am in the process of setting up Astro's Content Collections. One particular task I would like to achieve is referencing a specific author from my `authorCollection` within an article.
In attempting to accomplish this, I considered utilizing the following method in the frontmatter of my article:
---
title: My Article
author: [John Doe](./authors/author-john-doe.md)
---
If the above approach is feasible, how do I go about defining it in the config file?
Presently, my `articleCollection` definition appears as follows:
const articleCollection = defineCollection({
schema: z.object({
title: z.string(),
publishedAt: z.date(),
updatedAt: z.date(),
excerpt: z.string(),
seoDescription: z.string(),
category: z.array(z.string()),
image: z.string().optional(),
author: z.string().default("Anonymous"),
}),
})