|
@ -43,10 +43,14 @@ export const Seo = withRouter( |
|
|
<meta |
|
|
<meta |
|
|
property="og:url" |
|
|
property="og:url" |
|
|
key="og:url" |
|
|
key="og:url" |
|
|
content={`https://beta.reactjs.org${router.asPath.split(/[\?\#]/)[0]}`} |
|
|
content={`https://react.dev${router.asPath.split(/[\?\#]/)[0]}`} |
|
|
/> |
|
|
/> |
|
|
{title != null && ( |
|
|
{title != null && ( |
|
|
<meta property="og:title" content={title} key="og:title" /> |
|
|
<meta |
|
|
|
|
|
property="og:title" |
|
|
|
|
|
content={isHomePage ? 'React' : title} |
|
|
|
|
|
key="og:title" |
|
|
|
|
|
/> |
|
|
)} |
|
|
)} |
|
|
{description != null && ( |
|
|
{description != null && ( |
|
|
<meta |
|
|
<meta |
|
@ -59,7 +63,7 @@ export const Seo = withRouter( |
|
|
<meta |
|
|
<meta |
|
|
property="og:image" |
|
|
property="og:image" |
|
|
key="og:image" |
|
|
key="og:image" |
|
|
content={`https://beta.reactjs.org${image}`} |
|
|
content={`https://react.dev${image}`} |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
{/* TWITTER */} |
|
|
{/* TWITTER */} |
|
@ -84,7 +88,7 @@ export const Seo = withRouter( |
|
|
<meta |
|
|
<meta |
|
|
name="twitter:image" |
|
|
name="twitter:image" |
|
|
key="twitter:image" |
|
|
key="twitter:image" |
|
|
content={`https://beta.reactjs.org${image}`} |
|
|
content={`https://react.dev${image}`} |
|
|
/> |
|
|
/> |
|
|
<meta |
|
|
<meta |
|
|
name="google-site-verification" |
|
|
name="google-site-verification" |
|
|