Skip to content

Commit 28ca109

Browse files
authored
Merge pull request #258 from mismith0227/edit-og-image
OG-mageの修正
2 parents da2eded + 9ddcf48 commit 28ca109

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/app/photos/[category]/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ export async function generateMetadata({
2020
title: `${currentCategory?.title} | Photo`,
2121
description: `${currentCategory?.title}の写真`,
2222
openGraph: {
23-
url: contents[0].photos ? `${contents[0].photos[0].url}` : undefined,
24-
},
25-
twitter: {
26-
card: 'summary_large_image',
2723
images: contents[0].photos ? `${contents[0].photos[0].url}` : undefined,
2824
},
2925
}

src/app/series/[category]/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ export async function generateMetadata({
2020
title: `${currentCategory?.category_name}`,
2121
description: `${currentCategory?.category_name}`,
2222
openGraph: {
23-
url: contents[0].feature_image?.url,
24-
},
25-
twitter: {
26-
card: 'summary_large_image',
2723
images: contents[0].feature_image?.url,
2824
},
2925
}

0 commit comments

Comments
 (0)