diff options
| author | Jay V <[email protected]> | 2025-06-27 20:03:17 -0400 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-06-27 20:03:17 -0400 |
| commit | 6a7983a4ea9cb4ed6ec93f99f742df5a384cf807 (patch) | |
| tree | 2f7e3529c9bc0c4fb1e5ea55a4207c89218cfdcf /packages/web/astro.config.mjs | |
| parent | 737146fca18af16c05470ed00f0437b96fbff53f (diff) | |
| download | opencode-6a7983a4ea9cb4ed6ec93f99f742df5a384cf807.tar.gz opencode-6a7983a4ea9cb4ed6ec93f99f742df5a384cf807.zip | |
docs: adding more share images
Diffstat (limited to 'packages/web/astro.config.mjs')
| -rw-r--r-- | packages/web/astro.config.mjs | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs index 9099c6df3..2ba90fe8d 100644 --- a/packages/web/astro.config.mjs +++ b/packages/web/astro.config.mjs @@ -8,12 +8,11 @@ import config from "./config.mjs" import { rehypeHeadingIds } from "@astrojs/markdown-remark" import rehypeAutolinkHeadings from "rehype-autolink-headings" -const url = "https://opencode.ai" const github = "https://github.com/sst/opencode" // https://astro.build/config export default defineConfig({ - site: url, + site: config.url, output: "server", adapter: cloudflare({ imageService: "passthrough", @@ -41,20 +40,6 @@ export default defineConfig({ href: "/favicon.svg", }, }, - { - tag: "meta", - attrs: { - property: "og:image", - content: `${url}/social-share.png`, - }, - }, - { - tag: "meta", - attrs: { - property: "twitter:image", - content: `${url}/social-share.png`, - }, - }, ], editLink: { baseUrl: `${github}/edit/master/www/`, @@ -80,6 +65,7 @@ export default defineConfig({ ], components: { Hero: "./src/components/Hero.astro", + Head: "./src/components/Head.astro", Header: "./src/components/Header.astro", }, plugins: [ |
