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