From 2d14a3fe38164cb1066b50f12b78dbcb97279902 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei Date: Wed, 1 Jul 2026 18:36:44 +0900 Subject: og-image.ts: 目次非表示のCSSをrevert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/og-image.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/og-image.ts b/src/plugins/og-image.ts index d85f87b..358d36f 100644 --- a/src/plugins/og-image.ts +++ b/src/plugins/og-image.ts @@ -32,14 +32,6 @@ export default function ogImageIntegration(): AstroIntegration { // Fix breadcrumb: replace directory slug with Japanese label html = html.replace(/>about-dyslexiaディスレクシアについて<`); - // 一般質問ページ: 目次サイドバーを非表示 - if (page.pathname.includes("ippan-situmon")) { - html = html.replace( - "", - "", - ); - } - fs.writeFileSync(htmlPath, html, "utf-8"); } }, -- cgit v1.3.1