Update SEO titles
All checks were successful
continuous-integration/drone/push Build is passing

Use API default title for start
This commit is contained in:
2020-04-21 18:01:13 +02:00
parent 62eab08873
commit a13592d273
2 changed files with 4 additions and 5 deletions

View File

@@ -43,7 +43,6 @@
import Pagination from 'organisms/Pagination' import Pagination from 'organisms/Pagination'
import Footer from 'organisms/Footer' import Footer from 'organisms/Footer'
import SocialMetas from 'utils/SocialMetas' import SocialMetas from 'utils/SocialMetas'
import Transition from 'utils/Transition'
// Animations // Animations
import { animateIn } from 'animations/place' import { animateIn } from 'animations/place'
@@ -95,11 +94,11 @@
</script> </script>
<svelte:head> <svelte:head>
<title>{$site.seo_name} Beautiful houses 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="https://{$page.host}/location/{country.slug}/{location.slug}"
title="{$site.seo_name} Beautiful houses 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}
/> />

View File

@@ -90,11 +90,11 @@
<svelte:head> <svelte:head>
{#if $currentLocation} {#if $currentLocation}
<title>{$site.seo_name} Beautiful homes 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="https://{$page.host}/viewer/{currentPhoto.location.country.slug}/{currentPhoto.location.slug}/{currentPhoto.slug}"
title="{$site.seo_name} - Beautiful homes 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)}
/> />