- of
+
+
+ {@html fn.lettersToSpan('of')}
+
+
-
-
{$site.explore_list}
+
-
-
World
+
+
+ {@html fn.lettersToSpan('World')}
+
+
-
-
diff --git a/src/routes/location/[country]/[location].svelte b/src/routes/location/[country]/[location].svelte
index 9284093..6cc31a9 100644
--- a/src/routes/location/[country]/[location].svelte
+++ b/src/routes/location/[country]/[location].svelte
@@ -6,7 +6,7 @@
// Preload data
export async function preload (page, session) {
// Load photos
- const req = await this.fetch(`${apiEndpoints.rest}/items/photos?fields=id,name,date,slug,image.data,created_on,modified_on&filter[location.slug][rlike]=%${page.params.location}%&sort=-created_on,name`)
+ const req = await this.fetch(`${apiEndpoints.rest}/items/photos?fields=id,name,date,slug,image.*,created_on,modified_on&filter[location.slug][rlike]=%${page.params.location}%&limit=-1&sort=-created_on,name`)
const photos = await req.json()
if (req.status === 200) {
return { photos: photos.data }
@@ -16,26 +16,29 @@
@@ -67,7 +80,7 @@
Change
@@ -77,101 +90,56 @@
{$site.description}
- Houses Of
-
- {location.name}
-
-
-
-
+ Houses on:eventname
+
+
+
{location.description}
Updated
-
+
-
-
-
-
+