From a43911799584ae0eb59e330dcd339bcbcc279319 Mon Sep 17 00:00:00 2001 From: claude Date: Tue, 4 Aug 2026 05:29:20 +0400 Subject: [PATCH] docs: the web conventions name the shell partial, not navHTML (V-409) --- CLAUDE.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 779e26b..f3b3713 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -229,8 +229,11 @@ world questions, so she needs to read external sources. What replaces it: ## Web UI conventions -Server-rendered pages share `cmd/mavweb/static/ui.css` (served at `/ui.css`) and the `nav` -partial (`navHTML` in `cmd/mavweb/main.go`, `{{template "nav" ""}}`). No +Server-rendered pages share `cmd/mavweb/static/ui.css` (served at `/ui.css`) and the shell +partial in `cmd/mavweb/shell.html`: a page opens with `{{template "shellTop" ""}}` +and closes with `{{template "shellBottom"}}`, and the key marks the active sidebar link. +Every page is its own embedded `.html` file next to `main.go` — no page markup lives in Go, +and the sidebar is data (`sidebarSections`, `pageIcon`) the template renders. No per-page `