mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 15:24:32 +00:00
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 |
||
|---|---|---|
| .. | ||
| assets | ||
| pages | ||
| posts | ||
| 404.html | ||
| config.yml | ||
| index.html | ||
| manifest.json | ||
| mdcms.json | ||
| nav.yml | ||
| search.json | ||
| service-worker.js | ||
| theme.yml | ||