Skip to content

Commit

Permalink
Add social sharing image
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBertet committed Dec 1, 2023
1 parent c3b8724 commit a207b90
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,21 @@ const { title } = Astro.props;
<meta name="description" content="David Bertet portfolio" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/png" href="favicon.png">

<!-- Social sharing -->
<meta property="og:image" content="https://david.bertet.fr/home.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="1024">
<meta property="og:image:height" content="1024">

<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Josefin+Sans"
/>
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body class="font-body">
<slot />
</body>
</html>
<style is:global></style>

0 comments on commit a207b90

Please sign in to comment.