[site/contentlayer][s]: add missing fields we are using url, twitter, launched, medium.

This commit is contained in:
Rufus Pollock 2022-06-21 11:36:48 +02:00
parent 054a5e259a
commit 09fcb2d112
1 changed files with 6 additions and 1 deletions

View File

@ -31,7 +31,12 @@ const OtherPage = defineDocumentType(() => ({
podcast: { type: "string" }, podcast: { type: "string" },
featured: { type: "boolean", default: false }, featured: { type: "boolean", default: false },
created: { type: "date", description: "The date this page was created (For internal use)" }, created: { type: "date", description: "The date this page was created (For internal use)" },
aliases: { type: 'reference', of: ObsidianAliases } aliases: { type: 'reference', of: ObsidianAliases },
url: { type: 'string', description: 'Associated url e.g. homepage for a project' },
twitter: { type: 'string' },
medium: { type: 'string' },
status: { type: 'string' },
launched: { type: 'string' },
}, },
computedFields: { computedFields: {
date: { date: {