File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,14 @@ export const Seo = withRouter(
4343 < meta
4444 property = "og:url"
4545 key = "og:url"
46- content = { `https://beta.reactjs.org ${ router . asPath . split ( / [ \? \# ] / ) [ 0 ] } ` }
46+ content = { `https://react.dev ${ router . asPath . split ( / [ \? \# ] / ) [ 0 ] } ` }
4747 />
4848 { title != null && (
49- < meta property = "og:title" content = { title } key = "og:title" />
49+ < meta
50+ property = "og:title"
51+ content = { isHomePage ? 'React' : title }
52+ key = "og:title"
53+ />
5054 ) }
5155 { description != null && (
5256 < meta
@@ -59,7 +63,7 @@ export const Seo = withRouter(
5963 < meta
6064 property = "og:image"
6165 key = "og:image"
62- content = { `https://beta.reactjs.org ${ image } ` }
66+ content = { `https://react.dev ${ image } ` }
6367 />
6468
6569 { /* TWITTER */ }
@@ -84,7 +88,7 @@ export const Seo = withRouter(
8488 < meta
8589 name = "twitter:image"
8690 key = "twitter:image"
87- content = { `https://beta.reactjs.org ${ image } ` }
91+ content = { `https://react.dev ${ image } ` }
8892 />
8993 < meta
9094 name = "google-site-verification"
You can’t perform that action at this time.
0 commit comments