my website at ewancroft.uk
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(layout): add missing SiteMetadata properties

Spread all defaultSiteMeta properties to satisfy SiteMetadata type
requirements (keywords, image, imageWidth, imageHeight).

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>

+3 -4
+3 -4
src/routes/+layout.ts
··· 6 6 * Layout load function - fetches profile data and provides base site metadata 7 7 */ 8 8 export const load: LayoutLoad = async ({ url, fetch }) => { 9 - // Provide the default site metadata 9 + // Provide the default site metadata with current URL for proper OG tags 10 10 const siteMeta: SiteMetadata = createSiteMeta({ 11 - title: defaultSiteMeta.title, 12 - description: defaultSiteMeta.description, 13 - url: url.href // Include current URL for proper OG tags 11 + ...defaultSiteMeta, 12 + url: url.href 14 13 }); 15 14 16 15 // Fetch profile data (needed by Header and page components)