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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user