Skip to content

Commit 4716e6d

Browse files
Add OG image with book cover and site branding
SVG source + pre-rendered PNG. Matches the light monochrome aesthetic with the book cover illustration on the left, title and metadata on the right. Co-authored-by: Ona <no-reply@ona.com>
1 parent c5c0e48 commit 4716e6d

3 files changed

Lines changed: 196 additions & 0 deletions

File tree

public/og-image.png

66.3 KB
Loading

public/og-image.svg

Lines changed: 193 additions & 0 deletions
Loading

src/layouts/BaseLayout.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,14 @@ const canonicalUrl = `${siteUrl}${Astro.url.pathname}`;
3232
<meta property="og:url" content={canonicalUrl} />
3333
<meta property="og:site_name" content="The Agentic Engineering Guide" />
3434

35+
<meta property="og:image" content={`${siteUrl}${base}/og-image.png`} />
36+
3537
<!-- Twitter -->
3638
<meta name="twitter:card" content="summary_large_image" />
3739
<meta name="twitter:title" content={title} />
3840
<meta name="twitter:description" content={description} />
3941
<meta name="twitter:creator" content="@Siddhant_K_code" />
42+
<meta name="twitter:image" content={`${siteUrl}${base}/og-image.png`} />
4043

4144
<!-- Favicon -->
4245
<link rel="icon" href={`${base}/favicon.svg`} type="image/svg+xml" />

0 commit comments

Comments
 (0)