Add SEO from API on About
This commit is contained in:
@@ -64,6 +64,10 @@ export const load: PageServerLoad = async () => {
|
|||||||
|
|
||||||
contact_title
|
contact_title
|
||||||
contact_blocks
|
contact_blocks
|
||||||
|
|
||||||
|
seo_title
|
||||||
|
seo_description
|
||||||
|
seo_image { id }
|
||||||
}
|
}
|
||||||
}`)
|
}`)
|
||||||
const { data: { about, photos: photosIds }} = res
|
const { data: { about, photos: photosIds }} = res
|
||||||
|
|||||||
@@ -196,9 +196,9 @@
|
|||||||
<svelte:window bind:scrollY bind:innerWidth bind:innerHeight />
|
<svelte:window bind:scrollY bind:innerWidth bind:innerHeight />
|
||||||
|
|
||||||
<Metas
|
<Metas
|
||||||
title="About the project – Houses Of"
|
title={about.seo_title}
|
||||||
description="Houses Of is a passion project that collects charismatic houses from around the world through the mediums of graphic design, photography, and documentation"
|
description={about.seo_description}
|
||||||
image=""
|
image={about.seo_image ? getAssetUrlKey(about.seo_image.id, 'share-image') : null}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user