fix: add ViewSourceSubtext field to InfoModal struct

- Added missing ViewSourceSubtext field to models.InfoModal
- Resolves template rendering error that was preventing JavaScript from loading
- Fixes toggleTheme is not defined error
This commit is contained in:
juanatsap
2025-11-10 19:24:59 +00:00
parent 4d28cb6968
commit 50f8bd4063
+5 -4
View File
@@ -175,10 +175,11 @@ type UI struct {
}
type InfoModal struct {
Title string `json:"title"`
Description template.HTML `json:"description"`
TechStack TechStack `json:"techStack"`
ViewSource string `json:"viewSource"`
Title string `json:"title"`
Description template.HTML `json:"description"`
TechStack TechStack `json:"techStack"`
ViewSource string `json:"viewSource"`
ViewSourceSubtext string `json:"viewSourceSubtext"`
}
type TechStack struct {