Openstatus www.openstatus.dev
6
fork

Configure Feed

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

fix: og image (#1415)

authored by

Maximilian Kaske and committed by
GitHub
3a180cce 1ff92b2d

+6 -6
+3 -3
apps/docs/astro.config.mjs
··· 25 25 integrations: [ 26 26 sitemap(), 27 27 starlight({ 28 - title: "OpenStatus Docs", 28 + title: "openstatus docs", 29 29 favicon: "/favicon.ico", 30 30 social: [ 31 31 { ··· 180 180 ], 181 181 plugins: [ 182 182 starlightLlmsTxt({ 183 - projectName: "OpenStatus Docs", 183 + projectName: "openstatus docs", 184 184 description: 185 - "OpenStatus is an open-source global uptime monitoring platform that offers a status page and monitoring as code.", 185 + "openstatus is an open-source global uptime monitoring platform that offers a status page and monitoring as code.", 186 186 }), 187 187 starlightImageZoom(), 188 188 starlightLinksValidator({
+2 -2
apps/docs/src/components/Head.astro
··· 3 3 import Default from "@astrojs/starlight/components/Head.astro"; 4 4 import { OpenPanelComponent } from "@openpanel/astro"; 5 5 6 - const title = Astro.locals.starlightRoute.title; 6 + const title = Astro.locals.starlightRoute.entry.data.title; 7 7 const { siteTitle } = Astro.locals.starlightRoute; 8 8 9 - const url = `https://openstatus.dev/api/og?title=${siteTitle}&description=${title}`; 9 + const url = `https://openstatus.dev/api/og?title=${encodeURIComponent(siteTitle)}&description=${encodeURIComponent(title)}`; 10 10 --- 11 11 <Default><slot /></Default> 12 12
+1 -1
apps/docs/src/content/docs/index.mdx
··· 1 1 --- 2 - title: Documentation 2 + title: Welcome to openstatus 3 3 description: Openstatus is an open-source global uptime monitoring platform that offers a status page and monitoring as code. 4 4 template: doc 5 5 topic: docs