aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ScheduleSeo.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ScheduleSeo.astro')
-rw-r--r--src/components/ScheduleSeo.astro5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/ScheduleSeo.astro b/src/components/ScheduleSeo.astro
index 55668f6..03bf268 100644
--- a/src/components/ScheduleSeo.astro
+++ b/src/components/ScheduleSeo.astro
@@ -1,6 +1,9 @@
---
// このページの構造化データ(JSON-LD)。ビルド日を更新日として出力する。
-const url = 'https://yasutakeyohei.com/kodaira-data/hp-archive/schedule/';
+import { scheduleAbsoluteUrl } from '@/data/schedule/config';
+
+// URLは src/data/schedule/config.ts で一元管理している(ページ移転時はそこだけ変える)
+const url = scheduleAbsoluteUrl();
const updated = new Date();
const iso = updated.toISOString().slice(0, 10);
const label = `${updated.getFullYear()}年${updated.getMonth() + 1}月${updated.getDate()}日`;