From 15677bb4a326713f6b2308bf9ab9c88939b8937d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=EC=98=88=EC=A7=84?= Date: Sun, 24 Dec 2023 20:05:29 +0900 Subject: [PATCH] feat: add og tags --- src/app/posts/[slug]/layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/posts/[slug]/layout.tsx b/src/app/posts/[slug]/layout.tsx index 99fae3c..5f6180e 100644 --- a/src/app/posts/[slug]/layout.tsx +++ b/src/app/posts/[slug]/layout.tsx @@ -11,7 +11,8 @@ export function generateMetadata({ title: post.title, description: post.description, openGraph: { - // images: [`/api/og?slug=${slug}`], + title: post.title, + description: post.description, }, }; }