Skip to content

Commit

Permalink
feat: add og tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Dec 24, 2023
1 parent bc73e7b commit 15677bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/posts/[slug]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
}
Expand Down

1 comment on commit 15677bb

@vercel
Copy link

@vercel vercel bot commented on 15677bb Dec 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.