diff options
Diffstat (limited to 'internal/generator/templates.go')
| -rw-r--r-- | internal/generator/templates.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/internal/generator/templates.go b/internal/generator/templates.go index f50601a..df854ab 100644 --- a/internal/generator/templates.go +++ b/internal/generator/templates.go @@ -1,9 +1,10 @@ package generator -// HTML theme templates and shared sub-templates live as separate files under -// internal/generator/templates/{themes,shared}/*.tmpl and are loaded into the +// The unified shell template, shared CSS/JS bundles, and per-theme asset +// triples live under internal/generator/templates/ and are loaded into the // binary via embed.FS; see internal/generator/templates/embed.go. // -// themes.go exposes the theme registry and getTheme()/ListThemes() helpers. -// shared.go loads templates/shared/nav.tmpl into navDefs. -// favicon.go loads templates/shared/favicon_head.tmpl into faviconHeadHTML. +// themes.go exposes ListThemes()/validThemeName(). +// shared.go loads templates/shared/nav.tmpl into navDefs (splashGate, navhints, +// navmodal partials called from shell.tmpl). +// favicon.go generates the favicon.ico binary written into each output dir. |
