upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
Showing only changes of commit ae36330d46 - Show all commits

View File

@ -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,
}), }),
}, },
}, },