From f7fa9486855c824bcd7e783e2d3eb4d12ad85205 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Thu, 21 May 2026 21:35:11 +0300 Subject: docs: update social preview cards --- website/astro.config.mjs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'website/astro.config.mjs') 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/', }, -- cgit v1.2.3