mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-12 12:15:12 +00:00
Merge pull request #818 from github/x-social-cards
fix: add missing meta tags for Twitter/X social card images
This commit is contained in:
@@ -47,6 +47,9 @@ try {
|
||||
<meta property="og:title" content={`${title} | Awesome GitHub Copilot`} />
|
||||
<meta property="og:description" content={description} />
|
||||
<meta property="og:image" content={socialImageUrl.toString()} />
|
||||
<meta property="og:image:type" content="image/png" />
|
||||
<meta property="og:image:width" content="2400" />
|
||||
<meta property="og:image:height" content="1260" />
|
||||
<meta property="og:site_name" content="Awesome GitHub Copilot" />
|
||||
|
||||
<!-- Twitter -->
|
||||
@@ -54,6 +57,7 @@ try {
|
||||
<meta name="twitter:title" content={`${title} | Awesome GitHub Copilot`} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
<meta name="twitter:image" content={socialImageUrl.toString()} />
|
||||
<meta name="twitter:image:alt" content={`${title} | Awesome GitHub Copilot`} />
|
||||
|
||||
<link rel="stylesheet" href={`${base}styles/global.css`} />
|
||||
<link
|
||||
|
||||
Reference in New Issue
Block a user