From 680cccf3ed83578c387f52ff36b0d762f9c869ee Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Wed, 4 Nov 2026 23:10:00 +0900 Subject: ogp: 星空背景のデザインに刷新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 背景をsharpで生成した星空に変更し、名前を大きくして 小さい表示でも読みやすくした。長いタイトルの自動縮小、 ホームのタグライン重複解消、キャッシュ更新(v=3)も含む。 --- src/plugins/og-image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/og-image.ts b/src/plugins/og-image.ts index 120be81..b2c72ef 100644 --- a/src/plugins/og-image.ts +++ b/src/plugins/og-image.ts @@ -20,7 +20,7 @@ export default function ogImageIntegration(): AstroIntegration { let slug = page.pathname.replace(/^\/|\/$/g, "") || "index"; // URL-safe: replace / with - for nested paths const imageSlug = slug.replace(/\//g, "--"); - const ogImageUrl = `https://yasutakeyohei.com/og/${imageSlug}.jpg?v=2`; + const ogImageUrl = `https://yasutakeyohei.com/og/${imageSlug}.jpg?v=3`; html = html.replace( /