Skip to content

Commit

Permalink
fix: meta
Browse files Browse the repository at this point in the history
  • Loading branch information
mrskiro committed Mar 11, 2024
1 parent d72fe20 commit 3da69c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/meta/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const Meta = (props: Props) => {
// props.title
// )}`

const og = "/assets/mrskiro.png"
const og = "https://www.mrskiro.dev/assets/mrskiro.png"

const router = useRouter()
const url = `https://mrskiro.dev${router.asPath}`
Expand Down Expand Up @@ -40,6 +40,8 @@ export const Meta = (props: Props) => {
<meta property="og:url" content={url} />
<meta property="og:title" content={title} />
<meta property="og:site_name" content="mrskiro.dev" />
<meta property="og:description" content="mrskiroのブログです" />
<meta property="og:image" content={og} />

<meta property="og:type" content={props.ogType} />
</Head>
Expand Down

0 comments on commit 3da69c9

Please sign in to comment.