upstream #1
@ -87,7 +87,7 @@ export const Blog = defineDocumentType(() => ({
|
|||||||
draft: { type: 'boolean' },
|
draft: { type: 'boolean' },
|
||||||
summary: { type: 'string' },
|
summary: { type: 'string' },
|
||||||
images: { type: 'json' },
|
images: { type: 'json' },
|
||||||
authors: { type: 'json' },
|
authors: { type: 'list', of: { type: 'string' } },
|
||||||
layout: { type: 'string' },
|
layout: { type: 'string' },
|
||||||
bibliography: { type: 'string' },
|
bibliography: { type: 'string' },
|
||||||
canonicalUrl: { type: 'string' },
|
canonicalUrl: { type: 'string' },
|
||||||
@ -105,7 +105,6 @@ export const Blog = defineDocumentType(() => ({
|
|||||||
description: doc.summary,
|
description: doc.summary,
|
||||||
image: doc.images ? doc.images[0] : siteMetadata.socialBanner,
|
image: doc.images ? doc.images[0] : siteMetadata.socialBanner,
|
||||||
url: `${siteMetadata.siteUrl}/${doc._raw.flattenedPath}`,
|
url: `${siteMetadata.siteUrl}/${doc._raw.flattenedPath}`,
|
||||||
author: doc.authors,
|
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user