Skip to content

Commit 3181ba7

Browse files
authored
Fix OpenGraph image URLs. (#68)
1 parent 3f80c7b commit 3181ba7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/blog/[...slug].js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Post.getLayout = (page, { data, path, slug }) => (
4747
<Page
4848
title={data.title}
4949
pagePath={`/blog/${path}/`}
50-
// ogImagePath={`/og-images/${slug}.jpg`}
50+
// ogImagePath={`/og-images/${slug}.png`}
5151
>
5252
{page}
5353
</Page>

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const Home = () => {
7171
}
7272

7373
Home.getLayout = (page) => (
74-
<Page title="Home" pagePath="/" ogImagePath="/og-images/index.jpg">
74+
<Page title="Home" pagePath="/" ogImagePath="/og-images/index.png">
7575
{page}
7676
</Page>
7777
)

0 commit comments

Comments
 (0)