Skip to content

Commit efb623b

Browse files
authored
Merge pull request #14228 from ethereum/meta-titles
SEO update meta titles
2 parents 31660ce + 3344f18 commit efb623b

24 files changed

+26
-18
lines changed

public/content/dao/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Decentralized autonomous organizations (DAOs)
2+
title: What is a DAO?
3+
metaTitle: What is a DAO? | Decentralized Autonomous Organization
34
description: An overview of DAOs on Ethereum
45
lang: en
56
template: use-cases

public/content/defi/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Decentralized finance (DeFi)
3+
metaTitle: What is DeFi? | Benefits and Use of Decentralised Finance
34
description: An overview of DeFi on Ethereum
45
lang: en
56
template: use-cases

public/content/developers/docs/gas/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Gas and fees
3+
metaTitle: "Ethereum gas and fees: technical overview"
34
description:
45
lang: en
56
---

public/content/guides/how-to-use-a-wallet/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: How to use a wallet
3+
metaTitle: How to use Ethereum Wallets | Step by Step
34
description: A guide explaining how to send, receive tokens and connect to web3 projects.
45
lang: en
56
---

public/content/nft/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Non-fungible tokens (NFT)
3+
metaTitle: What are NFTs? | Benefits and use
34
description: An overview of NFTs on Ethereum
45
lang: en
56
template: use-cases

public/content/smart-contracts/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Smart contracts
3+
metaTitle: "Smart contracts: What are the and benefits"
34
description: A non-technical introduction to smart contracts
45
lang: en
56
---

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-gas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"page-gas-meta-title": "Gas fees on Ethereum: how do they work?",
2+
"page-gas-meta-title": "Ethereum fees: what is gas and how to pay less?",
33
"page-gas-meta-description": "Learn about gas on Ethereum: how they work and how to pay less in gas fees",
44
"page-gas-hero-title": "Gas fees",
55
"page-gas-hero-header": "Network fees",

src/intl/en/page-get-eth.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"page-get-eth-hero-image-alt": "Get ETH hero image",
4747
"page-get-eth-keep-it-safe": "Keeping your ETH safe",
4848
"page-get-eth-meta-description": "How to buy ETH based on where you live and advice on how to look after it.",
49-
"page-get-eth-meta-title": "How to get ETH",
49+
"page-get-eth-meta-title": "How to buy Ethereum (ETH)",
5050
"page-get-eth-need-wallet": "You will need a wallet to use a DEX.",
5151
"page-get-eth-new-to-eth": "New to ETH? Here's an overview to get you started.",
5252
"page-get-eth-other-cryptos": "Buy with other crypto",

src/intl/en/page-index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"page-index-learn-tag": "Learn",
6666
"page-index-learn-header": "Understand Ethereum",
6767
"page-index-meta-description": "Ethereum is a global, decentralized platform for money and new kinds of applications. On Ethereum, you can write code that controls money, and build applications accessible anywhere in the world.",
68-
"page-index-meta-title": "The complete guide to Ethereum",
68+
"page-index-meta-title": "Ethereum.org: The complete guide to Ethereum",
6969
"page-index-network-stats-total-eth-staked": "Value protecting Ethereum",
7070
"page-index-network-stats-tx-cost-description": "Average transaction cost",
7171
"page-index-network-stats-tx-day-description": "Transactions in the last 24h",

0 commit comments

Comments
 (0)