Skip to content

Commit 20d02da

Browse files
committed
remove site url from page title
1 parent 121d27e commit 20d02da

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/components/PageMetadata.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const PageMetadata = ({
4242

4343
const desc = description || t("site-description")
4444
const siteTitle = t("site-title")
45-
const fullTitle = `${title} | ${siteTitle}`
4645

4746
// Remove any query params (?) or hash links (#)
4847
const path = asPath.replace(/[?#].*/, "")
@@ -66,10 +65,10 @@ const PageMetadata = ({
6665
{ name: `twitter:card`, content: `summary_large_image` },
6766
{ name: `twitter:creator`, content: author || siteTitle },
6867
{ name: `twitter:site`, content: author || siteTitle },
69-
{ name: `twitter:title`, content: fullTitle },
68+
{ name: `twitter:title`, content: title },
7069
{ name: `twitter:description`, content: desc },
7170
{ name: `twitter:image`, content: ogImageUrl },
72-
{ property: `og:title`, content: fullTitle },
71+
{ property: `og:title`, content: title },
7372
{ property: `og:locale`, content: locale! },
7473
{ property: `og:description`, content: desc },
7574
{ property: `og:type`, content: `website` },
@@ -80,7 +79,7 @@ const PageMetadata = ({
8079

8180
return (
8281
<Head>
83-
<title>{fullTitle}</title>
82+
<title>{title}</title>
8483
{metadata.map((data) => (
8584
<meta
8685
key={(data as NameMeta).name || (data as PropMeta).property}

src/intl/en/page-wallets-find-wallet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"page-find-wallet-description": "Wallets store and transact your ETH. You can choose from a variety of products that tailor to your needs.",
66
"page-find-wallet-last-updated": "Last updated",
77
"page-find-wallet-meta-description": "Find and compare Ethereum wallets based on the features you want.",
8-
"page-find-wallet-meta-title": "List of Ethereum Wallets",
8+
"page-find-wallet-meta-title": "List of Ethereum Wallets | ethereum.org",
99
"page-find-wallet-title": "Choose your wallet",
1010
"page-find-wallet-try-removing": "Try removing a feature or two",
1111
"page-stake-eth": "Stake ETH",

0 commit comments

Comments
 (0)