summaryrefslogtreecommitdiff
path: root/internal/generator/templates.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-25 22:13:32 +0300
committerPaul Buetow <paul@buetow.org>2026-04-25 22:13:32 +0300
commita5cb9f7ad4b2bcb7ac367854147f661ab83c5ec1 (patch)
tree96db490ed72dec49c4bc2aba8539fd57f3246f47 /internal/generator/templates.go
parentcc9c69ce748416ad1d9b28592ec463434023d63c (diff)
can swap themes dynamicallyv0.12.0
Diffstat (limited to 'internal/generator/templates.go')
-rw-r--r--internal/generator/templates.go11
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.