From 09fcb2d1123530b7a3be3d68faacc09b5725f3d0 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Tue, 21 Jun 2022 11:36:48 +0200 Subject: [PATCH] [site/contentlayer][s]: add missing fields we are using url, twitter, launched, medium. --- site/contentlayer.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/site/contentlayer.config.ts b/site/contentlayer.config.ts index f577f8d..f9da92b 100644 --- a/site/contentlayer.config.ts +++ b/site/contentlayer.config.ts @@ -31,7 +31,12 @@ const OtherPage = defineDocumentType(() => ({ podcast: { type: "string" }, featured: { type: "boolean", default: false }, 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: { date: {