feat: implement base layout template and HTMX-aware page shell #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Roadmap Reference
Phase 2, Section 2.1 — Layout and Section 2.3 — HTMX Patterns
What to do
Create the base Go html/template and wire it into the handlers:
Acceptance Criteria
Closing as implemented.
internal/templates/layout.htmlcontains the full layout with bottom nav, HTMX script, PWA meta tags, service worker registration.handlers.gohasrenderPage()function that renders fragment for HTMX requests or full page for normal requests viabasePagetemplate.