From 61950a5624e227dd69b538429b0cf2fd64592ab8 Mon Sep 17 00:00:00 2001 From: Davis SHYAKA <87414827+davis-shyaka@users.noreply.github.com> Date: Wed, 17 Jul 2024 10:21:21 +0200 Subject: [PATCH] chore: twitter og image is acting up (possible fix) --- src/routes/+layout.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index e0e299f..08bd43e 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -29,6 +29,15 @@ export function load({ url }) { type: 'image/jpeg' } ] + }, + twitter: { + handle: '@shyakadavis7', + site: 'https://geist.shyakadavis.me/', + cardType: 'summary_large_image' as const, + title, + description, + imageAlt: 'Geist', + image: 'https://geist.shyakadavis.me/og.jpg' } }) satisfies MetaTagsProps;