Use PROD url for metas instead of host
This commit is contained in:
@@ -161,7 +161,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<link rel="canonical" href={`https://${$page.host}${$page.path}`} />
|
<link rel="canonical" href="{process.env.CONFIG.PROD_URL}{$page.path}">
|
||||||
{#each preconnect as host}
|
{#each preconnect as host}
|
||||||
<link rel="preconnect" href={host} crossorigin>
|
<link rel="preconnect" href={host} crossorigin>
|
||||||
<link rel="dns-prefetch" href={host}>
|
<link rel="dns-prefetch" href={host}>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<title>{pageTitle}</title>
|
<title>{pageTitle}</title>
|
||||||
<meta name="description" content={$site.seo_description_default}>
|
<meta name="description" content={$site.seo_description_default}>
|
||||||
<SocialMetas
|
<SocialMetas
|
||||||
url="https://{$page.host}{$page.path}"
|
url="{process.env.CONFIG.PROD_URL}{$page.path}"
|
||||||
title="{pageTitle}"
|
title="{pageTitle}"
|
||||||
description={$site.seo_description_default}
|
description={$site.seo_description_default}
|
||||||
image={$site.seo_share_image.full_url}
|
image={$site.seo_share_image.full_url}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<title>{pageTitle}</title>
|
<title>{pageTitle}</title>
|
||||||
<meta name="description" content={$site.credits_text}>
|
<meta name="description" content={$site.credits_text}>
|
||||||
<SocialMetas
|
<SocialMetas
|
||||||
url="https://{$page.host}{$page.path}"
|
url="{process.env.CONFIG.PROD_URL}{$page.path}"
|
||||||
title="{pageTitle}"
|
title="{pageTitle}"
|
||||||
description={$site.credits_text}
|
description={$site.credits_text}
|
||||||
image={$site.seo_share_image.full_url}
|
image={$site.seo_share_image.full_url}
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
<title>{$site.seo_name} - {$site.seo_title_default} across the globe</title>
|
<title>{$site.seo_name} - {$site.seo_title_default} across the globe</title>
|
||||||
<meta name="description" content={$site.seo_description_default}>
|
<meta name="description" content={$site.seo_description_default}>
|
||||||
<SocialMetas
|
<SocialMetas
|
||||||
url="https://{$page.host}"
|
url="{process.env.CONFIG.PROD_URL}"
|
||||||
title="{$site.seo_name} - {$site.seo_title_default} across the globe"
|
title="{$site.seo_name} - {$site.seo_title_default} across the globe"
|
||||||
description={$site.seo_description_default}
|
description={$site.seo_description_default}
|
||||||
image={$site.seo_share_image.full_url}
|
image={$site.seo_share_image.full_url}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@
|
|||||||
<title>{$site.seo_name} – {$site.seo_title_default} of {location.name}, {country.name}</title>
|
<title>{$site.seo_name} – {$site.seo_title_default} of {location.name}, {country.name}</title>
|
||||||
<meta name="description" content="{$site.seo_name} {location.name} {description}">
|
<meta name="description" content="{$site.seo_name} {location.name} {description}">
|
||||||
<SocialMetas
|
<SocialMetas
|
||||||
url="https://{$page.host}/location/{country.slug}/{location.slug}"
|
url="{process.env.CONFIG.PROD_URL}/location/{country.slug}/{location.slug}"
|
||||||
title="{$site.seo_name} – {$site.seo_title_default} of {location.name}, {country.name}"
|
title="{$site.seo_name} – {$site.seo_title_default} of {location.name}, {country.name}"
|
||||||
description="{$site.seo_name} {location.name} {description}"
|
description="{$site.seo_name} {location.name} {description}"
|
||||||
image={latestPhoto ? getThumbnail(latestPhoto.image.private_hash, 1200, 630) : null}
|
image={latestPhoto ? getThumbnail(latestPhoto.image.private_hash, 1200, 630) : null}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
<title>{pageTitle}</title>
|
<title>{pageTitle}</title>
|
||||||
<meta name="description" content={$site.subscribe_text}>
|
<meta name="description" content={$site.subscribe_text}>
|
||||||
<SocialMetas
|
<SocialMetas
|
||||||
url="https://{$page.host}{$page.path}"
|
url="{process.env.CONFIG.PROD_URL}{$page.path}"
|
||||||
title="{pageTitle}"
|
title="{pageTitle}"
|
||||||
description={$site.subscribe_text}
|
description={$site.subscribe_text}
|
||||||
image={$site.seo_share_image.full_url}
|
image={$site.seo_share_image.full_url}
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
<title>{$site.seo_name} – {$site.seo_title_default} of {$currentLocation.name}, {$currentLocation.country.name}</title>
|
<title>{$site.seo_name} – {$site.seo_title_default} of {$currentLocation.name}, {$currentLocation.country.name}</title>
|
||||||
<meta name="description" content="{$site.seo_name} {$currentLocation.name} {$currentLocation.description}">
|
<meta name="description" content="{$site.seo_name} {$currentLocation.name} {$currentLocation.description}">
|
||||||
<SocialMetas
|
<SocialMetas
|
||||||
url="https://{$page.host}/viewer/{currentPhoto.location.country.slug}/{currentPhoto.location.slug}/{currentPhoto.slug}"
|
url="{process.env.CONFIG.PROD_URL}/viewer/{currentPhoto.location.country.slug}/{currentPhoto.location.slug}/{currentPhoto.slug}"
|
||||||
title="{$site.seo_name} - {$site.seo_title_default} of {$currentLocation.name}, {$currentLocation.country.name}"
|
title="{$site.seo_name} - {$site.seo_title_default} of {$currentLocation.name}, {$currentLocation.country.name}"
|
||||||
description="{$site.seo_name} {$currentLocation.name} {$currentLocation.description}"
|
description="{$site.seo_name} {$currentLocation.name} {$currentLocation.description}"
|
||||||
image={getThumbnail(currentPhoto.image.private_hash, 1200, 630)}
|
image={getThumbnail(currentPhoto.image.private_hash, 1200, 630)}
|
||||||
|
|||||||
Reference in New Issue
Block a user