This commit is contained in:
@@ -36,7 +36,11 @@ func SetVersionInfo(version, commit string) {
|
||||
}
|
||||
|
||||
func init() {
|
||||
funcMap := template.FuncMap{"lower": strings.ToLower}
|
||||
funcMap := template.FuncMap{
|
||||
"lower": strings.ToLower,
|
||||
"isProActive": func() bool { return false },
|
||||
"getCompanyName": func() string { return "" },
|
||||
}
|
||||
Pages = make(map[string]*template.Template)
|
||||
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user