Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat: add description to post
Richie McIlroy2b3571c42eb8
diff --git a/apps/web/app/blog/[slug]/page.tsx b/apps/web/app/blog/[slug]/page.tsxindex d9ba2fa36..5f52e0d02 100644--- a/apps/web/app/blog/[slug]/page.tsx+++ b/apps/web/app/blog/[slug]/page.tsx@@ -22,12 +22,7 @@ export async function generateMetadata({return;}- let {- title,- publishedAt: publishedTime,- summary: description,- image,- } = post.metadata;+ let { title, publishedAt: publishedTime, description, image } = post.metadata;let ogImage = `${process.env.NEXT_PUBLIC_URL}${image}`;return {diff --git a/apps/web/utils/blog.ts b/apps/web/utils/blog.tsindex de472da3b..a14522cbb 100644--- a/apps/web/utils/blog.ts+++ b/apps/web/utils/blog.ts@@ -6,6 +6,7 @@ export type PostMetadata = {author: string;publishedAt: string;summary: string;+ description: string;tags?: string;image?: string;};@@ -13,6 +14,7 @@ export type PostMetadata = {export type DocMetadata = {title: string;summary: string;+ description?: string;tags?: string;image?: string;};