Skip to content

Commit d4a1a5d

Browse files
authored
Merge pull request #5 from imteekay/add-missing-og-type
fix: add missing OG type
2 parents dcbf64e + c14244a commit d4a1a5d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/pages/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const Home = (postList: { posts: [PostPreview] }) => {
1212
<meta name="description" content="my site" />
1313
<link rel="icon" href="favicon.ico" />
1414
<link rel="shortcut icon" href="favicon.ico" />
15+
<meta property="og:type" content="website" />
1516
<meta property="og:title" content="wrongbyte.github.io" />
1617
<meta property="og:description" content="my random tech stuff" />
1718
<meta

src/pages/posts/[slug].tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const Post = (props: PostModel) => {
2020
<meta name="description" content="my site" />
2121
<link rel="icon" href="favicon.ico" />
2222
<link rel="shortcut icon" href="favicon.ico" />
23+
<meta property="og:type" content="website" />
2324
<meta property="og:title" content={props.title} />
2425
<meta property="og:description" content={props.description} />
2526
<meta

0 commit comments

Comments
 (0)