From 5216789b90514001fcf5e5f64c644374242ed196 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Tue, 17 Nov 2026 23:37:08 +0900 Subject: sw.js: アプリ画面とイベントデータをキャッシュ対象に追加 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit イベントページにイベント用のmanifestとapple-touch-iconを指定し、今日の予定の画面とdata.jsonをキャッシュするようにした。noindexのアプリ画面はサイトマップから除外した。 --- src/content/docs/kodaira/events.mdx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/content/docs/kodaira/events.mdx') 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'; -- cgit v1.3.1