Skip to content

Commit

Permalink
Update OG images
Browse files Browse the repository at this point in the history
  • Loading branch information
noobnooc committed Mar 18, 2024
1 parent e1f87c0 commit 098cb34
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 289 deletions.
145 changes: 0 additions & 145 deletions app/[lang]/posts/[...slug]/opengraph-image.tsx

This file was deleted.

2 changes: 2 additions & 0 deletions app/[lang]/posts/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ export async function generateMetadata({
openGraph: {
title: post.title,
description: post.title,
images: `/${params.lang}/opengraph-image`,
},
twitter: {
title: post.title,
description: post.title,
site: "@noobnooc",
card: "summary_large_image",
images: `/${params.lang}/twitter-image`,
},
};
}
Expand Down
144 changes: 0 additions & 144 deletions app/[lang]/posts/[...slug]/twitter-image.tsx

This file was deleted.

0 comments on commit 098cb34

Please sign in to comment.