mirror of https://github.com/twbs/bootstrap.git
Docs: Remove unneeded Twitter/X metatags
No need to define description, title and image since it'll use OpenGraph ones anyway (which are identical). Removing this will save some bytes. :-) See bottom section at: https://developer.x.com/en/docs/x-for-websites/cards/guides/getting-started#twitter-cards-and-open-graph
This commit is contained in:
parent
9f4d383046
commit
1c8818827a
|
@ -20,9 +20,6 @@ const socialImageSize = await getStaticImageSize(`/docs/[version]/assets/${thumb
|
|||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content=`@${getConfig().x}` />
|
||||
<meta name="twitter:creator" content=`@${getConfig().x}` />
|
||||
<meta name="twitter:title" content={title} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
<meta name="twitter:image" content={socialImageUrl} />
|
||||
|
||||
<meta property="og:url" content={new URL(Astro.url.pathname, Astro.site)} />
|
||||
<meta property="og:title" content={title} />
|
||||
|
|
Loading…
Reference in New Issue