diff --git a/www/docs/astro.config.mjs b/www/docs/astro.config.mjs index d4b1d54779..6ca45b5834 100644 --- a/www/docs/astro.config.mjs +++ b/www/docs/astro.config.mjs @@ -3,9 +3,12 @@ import starlight from "@astrojs/starlight"; // https://astro.build/config export default defineConfig({ + site: "https://docs.astro-studiocms.xyz/", integrations: [ starlight({ title: "Astro StudioCMS", + description: + "A dedicated CMS for Astro Studio. Built from the ground up by the Astro community.", favicon: "/logo-dark.svg", logo: { dark: "../assets/logo-light.svg", @@ -16,12 +19,11 @@ export default defineConfig({ }, customCss: [ // Relative path to your custom CSS file - './src/styles/custom.css', + "./src/styles/custom.css", ], editLink: { - baseUrl: - "https://github.com/astrolicious/studiocms/tree/main/www/docs", - }, + baseUrl: "https://github.com/astrolicious/studiocms/tree/main/www/docs", + }, head: [ { tag: "script", @@ -31,6 +33,20 @@ export default defineConfig({ defer: true, }, }, + { + tag: "meta", + attrs: { + property: "og:image", + content: site + "og.png?v=1", + }, + }, + { + tag: "meta", + attrs: { + property: "twitter:image", + content: site + "og.png?v=1", + }, + }, ], sidebar: [ { diff --git a/www/docs/public/og.png b/www/docs/public/og.png new file mode 100644 index 0000000000..6c47f2908c Binary files /dev/null and b/www/docs/public/og.png differ