diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-21 21:35:11 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-21 21:35:11 +0300 |
| commit | f7fa9486855c824bcd7e783e2d3eb4d12ad85205 (patch) | |
| tree | df1abbc8657afb144f72da4cfc34dadfe073a6dd /website/astro.config.mjs | |
| parent | 1f2f939862a399e8655d9ce99ab644faf6a32d17 (diff) | |
docs: update social preview cards
Diffstat (limited to 'website/astro.config.mjs')
| -rw-r--r-- | website/astro.config.mjs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/website/astro.config.mjs b/website/astro.config.mjs index c1bdbc85..b34fcd2f 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -69,6 +69,32 @@ export default defineConfig({ SiteTitle: './src/components/SiteTitle.astro', }, customCss: ['./src/styles/starlight.css'], + head: [ + { + tag: 'meta', + attrs: { property: 'og:image', content: 'https://herdr.dev/assets/doc-og-card-v1.png' }, + }, + { tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } }, + { tag: 'meta', attrs: { property: 'og:image:height', content: '630' } }, + { + tag: 'meta', + attrs: { + property: 'og:image:alt', + content: 'Herdr documentation — One terminal. The whole herd.', + }, + }, + { + tag: 'meta', + attrs: { name: 'twitter:image', content: 'https://herdr.dev/assets/doc-og-card-v1.png' }, + }, + { + tag: 'meta', + attrs: { + name: 'twitter:image:alt', + content: 'Herdr documentation — One terminal. The whole herd.', + }, + }, + ], editLink: { baseUrl: 'https://github.com/ogulcancelik/herdr/edit/master/', }, |
