aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/plugins/og-image.ts
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-19 18:32:20 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-19 18:32:20 +0900
commit6e12e40b2a4d58545b088f662a247fdf4355120d (patch)
tree07bfae9bef53ffa4df0743c8ebb535ff987d7ffb /src/plugins/og-image.ts
parentcff048210874fc3e55023e83f913ab5abc4a3b10 (diff)
サイドバー・パンくず: メディア掲載ページを追加
Diffstat (limited to 'src/plugins/og-image.ts')
-rw-r--r--src/plugins/og-image.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/og-image.ts b/src/plugins/og-image.ts
index 01da59a..e9efbcb 100644
--- a/src/plugins/og-image.ts
+++ b/src/plugins/og-image.ts
@@ -34,6 +34,7 @@ export default function ogImageIntegration(): AstroIntegration {
// Fix breadcrumb: replace directory slug with Japanese label
html = html.replace(/>about-dyslexia</g, `>ディスレクシアについて<`);
html = html.replace(/>iinkai</g, `>委員会・請願<`);
+ html = html.replace(/>media</g, `>メディア掲載<`);
fs.writeFileSync(htmlPath, html, "utf-8");
}