Skip to content

Open-source status page, incident response and uptime monitoring

feat: add open graph content and update page title (#237)

Kelvin Amoaba0d2ee6ce6244
diff --git a/apps/docs/theme.config.tsx b/apps/docs/theme.config.tsx
index 8331db5d9..0421a7783 100644
--- a/apps/docs/theme.config.tsx
+++ b/apps/docs/theme.config.tsx
@@ -13,6 +13,22 @@ const config: DocsThemeConfig = {
footer: {
text: "OpenStatus Documentation",
},
+ head: (
+ <>
+ <title>OpenStatus Documentation</title>
+ <meta
+ name="description"
+ content="An Open Source alternative for your next Status Page"
+ />
+ <meta property="og:image" content="https://openstatus.dev/api/og" />
+ </>
+ ),
+ useNextSeoProps() {
+ return {
+ title: "OpenStatus Documentation",
+ titleTemplate: "%s | OpenStatus Documentation",
+ };
+ },
};
export default config;