From 9a8d201f7eeb7fb737f539442bf4e03a8ffc0ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sun, 29 Mar 2020 19:35:02 +0200 Subject: [PATCH] Viewer: Coordinate page title and metas --- src/routes/viewer/[country]/[place]/[photo].svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/viewer/[country]/[place]/[photo].svelte b/src/routes/viewer/[country]/[place]/[photo].svelte index d5e8806..758a2f5 100644 --- a/src/routes/viewer/[country]/[place]/[photo].svelte +++ b/src/routes/viewer/[country]/[place]/[photo].svelte @@ -60,7 +60,7 @@ let windowWidth let gotoLink let currentPhoto = photos.find(photo => photo.slug === $page.params.photo) - let pageTitle = ($currentLocation) ? `Photos of ${$currentLocation.name}, ${$currentLocation.country.name}` : '' + let pageTitle = ($currentLocation) ? `Beautiful homes of ${$currentLocation.name}, ${$currentLocation.country.name}` : '' // Update store current location if (!$currentLocation) currentLocation.set($locations.find(loc => loc.slug === $page.params.place)) @@ -93,7 +93,7 @@