fix(head): use ogp structured properties

The <https://ogp.me> standard doesn't have an a property called "og:width" and "og:height".

The closest thing to that are "Structured Properties" for the image, which are actually "og:image:width" and "og:image:height".

This commit uses the correct property names.
This commit is contained in:
Sohum 2024-10-13 16:59:41 -07:00 committed by GitHub
parent 1dc208356a
commit 728ec1c878
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,8 +35,8 @@ export default (() => {
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
{cfg.baseUrl && <meta property="og:image" content={ogImagePath} />}
<meta property="og:width" content="1200" />
<meta property="og:height" content="675" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="675" />
<link rel="icon" href={iconPath} />
<meta name="description" content={description} />
<meta name="generator" content="Quartz" />