mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
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:
parent
1dc208356a
commit
728ec1c878
@ -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" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user