diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-11-17 23:37:08 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-11-17 23:37:08 +0900 |
| commit | 5216789b90514001fcf5e5f64c644374242ed196 (patch) | |
| tree | 6182c610f46416bb53734b8fcad67f79fabd4af0 /src/content/docs/kodaira/events.mdx | |
| parent | 641e02c7968930ad67248b36fa5ba9558d0adcbf (diff) | |
sw.js: アプリ画面とイベントデータをキャッシュ対象に追加
イベントページにイベント用のmanifestとapple-touch-iconを指定し、今日の予定の画面とdata.jsonをキャッシュするようにした。noindexのアプリ画面はサイトマップから除外した。
Diffstat (limited to 'src/content/docs/kodaira/events.mdx')
| -rw-r--r-- | src/content/docs/kodaira/events.mdx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/content/docs/kodaira/events.mdx b/src/content/docs/kodaira/events.mdx index 3e7f04c..8bebcc4 100644 --- a/src/content/docs/kodaira/events.mdx +++ b/src/content/docs/kodaira/events.mdx @@ -10,6 +10,31 @@ head: type: application/rss+xml title: 小平市のイベント・行事予定(RSS) href: /kodaira/events/feed.xml + - tag: link + attrs: + rel: manifest + href: /manifest-events.webmanifest + - tag: meta + attrs: + name: theme-color + content: "#1565c0" + - tag: link + attrs: + rel: apple-touch-icon + href: /icons/event-192.png + - tag: meta + attrs: + name: apple-mobile-web-app-capable + content: "yes" + - tag: meta + attrs: + name: apple-mobile-web-app-title + content: 今日の小平市 + - tag: link + attrs: + rel: alternate + title: 今日と明日の予定(アプリ) + href: /kodaira/events/today/ --- import ScheduleInteractive from '../../../components/ScheduleInteractive.astro'; |
