diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 20:57:32 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 20:57:32 -1000 |
| commit | e90ac205a6f8364c82bf09178a6f90b7cb0aca27 (patch) | |
| tree | c38a43f2e4c89475e03d03be01dc37f503db9715 | |
| parent | a3156a2f399ea03c645ee23b0099d9d722ce7e1e (diff) | |
Fix shopping-mode template name to use filename
The template was being called with define name "shopping-mode" but
standalone page templates should be called by filename "shopping-mode.html".
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| -rw-r--r-- | internal/handlers/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index 0424e40..1c2eb18 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -1298,7 +1298,7 @@ func (h *Handler) HandleShoppingMode(w http.ResponseWriter, r *http.Request) { StoreNames: storeNames, } - HTMLResponse(w, h.templates, "shopping-mode", data) + HTMLResponse(w, h.templates, "shopping-mode.html", data) } // HandleShoppingModeToggle toggles an item in shopping mode and returns updated list |
