From 3f55e178ff442c0baa4af1912bc1d0f31dc9be3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Tue, 13 Sep 2022 11:45:45 +0200 Subject: [PATCH] Add SEO from API on About --- src/routes/about/+page.server.ts | 4 ++++ src/routes/about/+page.svelte | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/routes/about/+page.server.ts b/src/routes/about/+page.server.ts index da44fcd..5a97d4a 100644 --- a/src/routes/about/+page.server.ts +++ b/src/routes/about/+page.server.ts @@ -64,6 +64,10 @@ export const load: PageServerLoad = async () => { contact_title contact_blocks + + seo_title + seo_description + seo_image { id } } }`) const { data: { about, photos: photosIds }} = res diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index 0060add..5390848 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -196,9 +196,9 @@