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