summaryrefslogtreecommitdiffstats
path: root/modules/template/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/template/template.go')
-rw-r--r--modules/template/template.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/template/template.go b/modules/template/template.go
index baf1a7ab92..65d78c2f6e 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -33,16 +33,16 @@ func NewFuncMap() []template.FuncMap {
return strings.Title(runtime.Version())
},
"UseHTTPS": func() bool {
- return strings.HasPrefix(setting.AppUrl, "https")
+ return strings.HasPrefix(setting.AppURL, "https")
},
"AppName": func() string {
return setting.AppName
},
"AppSubUrl": func() string {
- return setting.AppSubUrl
+ return setting.AppSubURL
},
"AppUrl": func() string {
- return setting.AppUrl
+ return setting.AppURL
},
"AppVer": func() string {
return setting.AppVer