mdcms/app
Claude a5127727f0
Enable Back button and fix clean-URL reloads
Renderer (app/index.html):
- navigateTo now pushes a history entry for user navigations (pushState),
  while the initial load, back/forward (popstate/hashchange), and category
  re-renders still replaceState. The browser Back button now returns to the
  previous page instead of leaving the site.

Service worker (mdcms.py generator + app/service-worker.js):
- Serve the cached index.html app shell for navigation requests. Reloading a
  clean URL like /section-id previously 404'd on the static host before any
  JavaScript ran; the shell fallback lets the client-side router resolve the
  path. Also makes pretty-URL reloads work offline.

https://claude.ai/code/session_018KXUwmSNMGF2UBywTChCcS
2026-06-12 07:16:12 +00:00
..
assets New standard favicon added. 2026-05-19 15:52:06 +07:00
pages Add tabs and accordion content components to index.html 2026-05-21 16:41:27 +00:00
posts Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
404.html feat: clean URLs for section-id pages 2026-06-07 17:23:30 +00:00
config.yml Update config file comment for version 0.6.0 2026-06-10 22:06:03 +07:00
index.html Enable Back button and fix clean-URL reloads 2026-06-12 07:16:12 +00:00
manifest.json Add M favicon, fix manifest for PWA installability 2026-05-17 20:33:00 +00:00
mdcms.json feat: mdcms build writes mdcms.json; register accepts URLs 2026-06-07 18:00:24 +00:00
nav.yml Add tabs and accordion content components to index.html 2026-05-21 16:41:27 +00:00
search.json Add tabs and accordion content components to index.html 2026-05-21 16:41:27 +00:00
service-worker.js Enable Back button and fix clean-URL reloads 2026-06-12 07:16:12 +00:00
theme.yml Add configurable nav section toggle icons 2026-05-18 15:08:59 +00:00