Openstatus www.openstatus.dev
6
fork

Configure Feed

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

๐Ÿ› add title and description to status page og (#137)

authored by

Thibault Le Ouay and committed by
GitHub
84ded4f4 2e85bf7b

+10 -2
+10 -2
apps/web/src/app/status-page/[domain]/page.tsx
··· 41 41 title: page?.title, 42 42 description: page?.description, 43 43 twitter: { 44 - images: [`/api/og?monitorId=${firstMonitor?.id}`], 44 + images: [ 45 + `/api/og?monitorId=${firstMonitor?.id}&title=${page?.title}&description=${ 46 + page?.description || `The ${page?.title} status page}` 47 + }`, 48 + ], 45 49 card: "summary_large_image", 46 50 title: page?.title, 47 51 description: page?.description, 48 52 }, 49 53 openGraph: { 50 54 type: "website", 51 - images: [`/api/og?monitorId=${firstMonitor?.id}`], 55 + images: [ 56 + `/api/og?monitorId=${firstMonitor?.id}&title=${page?.title}&description=${ 57 + page?.description || `The ${page?.title} status page}` 58 + }`, 59 + ], 52 60 title: page?.title, 53 61 description: page?.description, 54 62 },