1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-29 00:57:50 +02:00
This commit is contained in:
Corrie Sloot 2022-04-27 02:55:51 -04:00 committed by GitHub
parent ce07740ef8
commit 88d5179a29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,10 @@ export default function Seo({
<title>{pageTitle}</title>
{isBrowser && window?.location?.hostname !== 'oceanprotocol.com' && (
<meta name="robots" content="noindex,nofollow" />
)}
{isBrowser &&
window?.location?.hostname !== 'market.oceanprotocol.com' && (
<meta name="robots" content="noindex,nofollow" />
)}
<link rel="canonical" href={canonical} />
<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 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" />
</Head>
)