aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/data/schedule
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-07 21:46:24 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-07 21:46:24 +0900
commitf6bdca7dea59e81006a659676a00aae10d2cec58 (patch)
tree39aeaf58144520acb281edcdb96321a38e0dfbc7 /src/data/schedule
parent93236c250c5b074d50418aefe8205d1e090b015d (diff)
events: 最終更新の日時を1か所に統一
ページ冒頭はビルド時刻、末尾はStarlight標準のgit日時と、2つの日付が 並んでいた。冒頭の表示を内容(ページと予定データ・関連コンポーネント) の最終コミット時刻にし、dateModifiedとサイトマップのlastmodも同じ 値にそろえた。末尾の重複表示は lastUpdated: false で止めた。
Diffstat (limited to 'src/data/schedule')
-rw-r--r--src/data/schedule/content-files.mjs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/data/schedule/content-files.mjs b/src/data/schedule/content-files.mjs
new file mode 100644
index 0000000..fa87e5e
--- /dev/null
+++ b/src/data/schedule/content-files.mjs
@@ -0,0 +1,16 @@
+// 行事予定ページ(/kodaira/events/)の内容を構成するファイル。
+// ページ冒頭の「最終更新」、JSON-LD の dateModified、サイトマップの lastmod で
+// 同じリストを使う(表示と構造化データの日付がずれないようにするため)。
+export const SCHEDULE_PAGE_FILES = [
+ 'src/content/docs/kodaira/events.mdx',
+ 'src/data/schedule/events.json',
+ 'src/data/schedule/meetings.json',
+ 'src/data/schedule/config.ts',
+ 'src/components/ScheduleInteractive.astro',
+ 'src/components/ScheduleMap.astro',
+ 'src/components/ScheduleMonthLinks.astro',
+ 'src/components/ScheduleSeo.astro',
+ 'src/components/ScheduleTable.astro',
+ 'src/lib/schedule-dates.ts',
+ 'src/lib/schedule-months.ts',
+];