summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-17 23:37:08 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-17 23:37:08 +0900
commit5216789b90514001fcf5e5f64c644374242ed196 (patch)
tree6182c610f46416bb53734b8fcad67f79fabd4af0 /src
parent641e02c7968930ad67248b36fa5ba9558d0adcbf (diff)
sw.js: アプリ画面とイベントデータをキャッシュ対象に追加
イベントページにイベント用のmanifestとapple-touch-iconを指定し、今日の予定の画面とdata.jsonをキャッシュするようにした。noindexのアプリ画面はサイトマップから除外した。
Diffstat (limited to 'src')
-rw-r--r--src/content/docs/kodaira/events.mdx25
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';