Skip to content

Commit

Permalink
feat: add face to og image
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 committed Jun 7, 2024
1 parent 56de97b commit 11ed895
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
import "../../styles/fonts.css";
import "../../styles/globals.css";
import MyFace from "../../static/imgs/my_face.png";
interface Props {
title: string;
Expand All @@ -25,7 +26,7 @@ const { title, description } = Astro.props;
"I'm Zaid. This is my blog, where I write about random stuff."}
/>
<meta property="og:title" content={`${title} | Nico's Blog`} />
<meta property="og:image" content="/favicon.ico" />
<meta property="og:image" content={MyFace.src} />
<meta property="og:type" content="website" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" href="/favicon.ico" />
Expand Down

0 comments on commit 11ed895

Please sign in to comment.