@@ -42,7 +42,6 @@ const PageMetadata = ({
42
42
43
43
const desc = description || t ( "site-description" )
44
44
const siteTitle = t ( "site-title" )
45
- const fullTitle = `${ title } | ${ siteTitle } `
46
45
47
46
// Remove any query params (?) or hash links (#)
48
47
const path = asPath . replace ( / [ ? # ] .* / , "" )
@@ -66,10 +65,10 @@ const PageMetadata = ({
66
65
{ name : `twitter:card` , content : `summary_large_image` } ,
67
66
{ name : `twitter:creator` , content : author || siteTitle } ,
68
67
{ name : `twitter:site` , content : author || siteTitle } ,
69
- { name : `twitter:title` , content : fullTitle } ,
68
+ { name : `twitter:title` , content : title } ,
70
69
{ name : `twitter:description` , content : desc } ,
71
70
{ name : `twitter:image` , content : ogImageUrl } ,
72
- { property : `og:title` , content : fullTitle } ,
71
+ { property : `og:title` , content : title } ,
73
72
{ property : `og:locale` , content : locale ! } ,
74
73
{ property : `og:description` , content : desc } ,
75
74
{ property : `og:type` , content : `website` } ,
@@ -80,7 +79,7 @@ const PageMetadata = ({
80
79
81
80
return (
82
81
< Head >
83
- < title > { fullTitle } </ title >
82
+ < title > { title } </ title >
84
83
{ metadata . map ( ( data ) => (
85
84
< meta
86
85
key = { ( data as NameMeta ) . name || ( data as PropMeta ) . property }
0 commit comments