Skip to content

Commit 84e296c

Browse files
committed
[RZA-250159]: image height updated in meta
1 parent e3b1ae8 commit 84e296c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/layouts/BaseHead.astro

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,15 @@ const socialImageURL = new URL(ogImage ? ogImage : "/assets/images/ABCD-blue.png
5151
<meta property="og:image" content={socialImageURL} />
5252
<meta property="og:image:alt" content={description} />
5353
<meta property="og:image:width" content="1200" />
54-
<meta property="og:image:height" content="630" />
54+
<meta property="og:image:height" content="1200" />
55+
{
56+
articleDate && (
57+
<>
58+
<meta property="article:author" content={siteConfig.author} />
59+
<meta property="article:published_time" content={articleDate} />
60+
</>
61+
)
62+
}
5563

5664
{/* Twitter */}
5765
<meta name="twitter:card" content="summary_large_image" />

0 commit comments

Comments
 (0)