mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
SEO fix (#1359)
This commit is contained in:
parent
ce07740ef8
commit
88d5179a29
@ -28,9 +28,10 @@ export default function Seo({
|
|||||||
|
|
||||||
<title>{pageTitle}</title>
|
<title>{pageTitle}</title>
|
||||||
|
|
||||||
{isBrowser && window?.location?.hostname !== 'oceanprotocol.com' && (
|
{isBrowser &&
|
||||||
<meta name="robots" content="noindex,nofollow" />
|
window?.location?.hostname !== 'market.oceanprotocol.com' && (
|
||||||
)}
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
|
)}
|
||||||
|
|
||||||
<link rel="canonical" href={canonical} />
|
<link rel="canonical" href={canonical} />
|
||||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||||
@ -58,7 +59,10 @@ export default function Seo({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<meta property="og:site_name" content={siteContent?.siteTitle} />
|
<meta property="og:site_name" content={siteContent?.siteTitle} />
|
||||||
<meta name="twitter:creator" content="@oceanprotocol" />
|
{isBrowser &&
|
||||||
|
window?.location?.hostname === 'market.oceanprotocol.com' && (
|
||||||
|
<meta name="twitter:creator" content="@oceanprotocol" />
|
||||||
|
)}
|
||||||
<meta name="twitter:card" content="summary_large_image" />
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
</Head>
|
</Head>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user