We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae7921 commit ae36330Copy full SHA for ae36330
contentlayer.config.ts
@@ -87,7 +87,7 @@ export const Blog = defineDocumentType(() => ({
87
draft: { type: 'boolean' },
88
summary: { type: 'string' },
89
images: { type: 'json' },
90
- authors: { type: 'json' },
+ authors: { type: 'list', of: { type: 'string' } },
91
layout: { type: 'string' },
92
bibliography: { type: 'string' },
93
canonicalUrl: { type: 'string' },
@@ -105,7 +105,6 @@ export const Blog = defineDocumentType(() => ({
105
description: doc.summary,
106
image: doc.images ? doc.images[0] : siteMetadata.socialBanner,
107
url: `${siteMetadata.siteUrl}/${doc._raw.flattenedPath}`,
108
- author: doc.authors,
109
}),
110
},
111
0 commit comments