Skip to content

Commit

Permalink
feat: explicit og:image size to make preview big
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDoobDoob committed Sep 10, 2024
1 parent 86d935b commit c921de6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ const image = '/images/og-image-banner.jpg';
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="627">
<meta property='og:type' content='website' />
<meta name='twitter:card' content='summary' />
<meta name='twitter:creator' content='geekcamp' />
<meta name='twitter:title' content={title} />
<meta name='twitter:description' content={description} />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:widgets:theme" content="dark" />
<meta name="twitter:image" content="https://geekcamp.sg/images/og-image-banner.jpg">
<meta name="twitter:title" content="Geekcamp Singapore">

<link rel="me" href="https://twitter.com/geekcampsg" />
<meta name='format-detection' content='telephone=no' />
<meta charset='UTF-8' />
Expand All @@ -50,9 +51,6 @@ const image = '/images/og-image-banner.jpg';
<meta name='generator' content={Astro.generator} />
<title>{`${title} | Geekcamp Singapore ${year}`}</title>

<meta name="twitter:description" content="Geekcamp Singapore">
<meta name="twitter:image" content="https://geekcamp.sg/images/og-image-banner.jpg">
<meta name="twitter:title" content="Geekcamp Singapore">
</head>

<body>
Expand Down

0 comments on commit c921de6

Please sign in to comment.