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
+1
View File
@@ -179,6 +179,7 @@ type InfoModal struct {
Description template.HTML `json:"description"` Description template.HTML `json:"description"`
TechStack TechStack `json:"techStack"` TechStack TechStack `json:"techStack"`
ViewSource string `json:"viewSource"` ViewSource string `json:"viewSource"`
ViewSourceSubtext string `json:"viewSourceSubtext"`
} }
type TechStack struct { type TechStack struct {