From 3c137e904c11152118a49168a1a1b54af9b65290 Mon Sep 17 00:00:00 2001 From: gman Date: Sat, 20 Sep 2025 21:47:22 +0300 Subject: [PATCH] opengraph image --- astro.config.mjs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/astro.config.mjs b/astro.config.mjs index deb4456..a9a12ee 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,8 +1,10 @@ // @ts-check import starlight from '@astrojs/starlight'; import { defineConfig } from 'astro/config'; +import logoLight from './public/logo-light.png'; +console.log(logoLight) // https://astro.build/config export default defineConfig({ integrations: [ @@ -32,6 +34,14 @@ export default defineConfig({ href: '/favicon.ico', sizes: '32x32', }, + }, + { + tag: 'meta', + attrs: { property: 'og:image', content: "/logo-light.png" }, + }, + { + tag: 'meta', + attrs: { name: 'twitter:image', content: "/logo-light.png" }, } ], locales: {