mdcms/app
Claude 92615fad1c
v0.4 Phase 7: PWA support + bump to 0.3.8
- Add generate_pwa(): builds manifest.json (name, short_name, theme_color,
  standalone display, favicon icon) and service-worker.js with a
  cache-first strategy; cache name is versioned by a hash of the precache
  file list so new builds automatically invalidate old caches; precache
  list covers index.html, config.yml, nav.yml, search.json, theme file,
  and all pages/posts/assets
- Call generate_pwa() from run_build() when pwa: yes/true in config.yml
- index.html: add <link rel="manifest"> and SW registration script in
  <head>; both silently no-op when the generated files are absent
- index.html boot(): write offline-message from config to localStorage
  on every load so the message survives cache eviction
- index.html navigateTo(): show localStorage offline message when a page
  fetch fails instead of the generic not-found message
- Update CLAUDE.md with PWA config key reference

https://claude.ai/code/session_015XtsgTMi8UtmgxEgb5Qt2c
2026-05-17 19:10:19 +00:00
..
assets v0.4 Phase 2: local SVG icon system, remove Google Material Icons 2026-05-17 17:19:33 +00:00
pages Fix missing icon broken image, clean up debug logs, expand test cases 2026-05-17 18:27:41 +00:00
posts Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
config.yml v0.4 Phase 4: callout tags 2026-05-17 17:43:27 +00:00
index.html v0.4 Phase 7: PWA support + bump to 0.3.8 2026-05-17 19:10:19 +00:00
nav.yml Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
search.json Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
theme.yml v0.4 Phase 1: theme.yml — separate presentational config from config.yml 2026-05-16 15:33:20 +00:00