From efaf60ba5a4a7c0954dbaf57203859db3258281f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 22 Nov 2015 02:42:39 -0500 Subject: fix #2013 --- modules/template/template.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/template/template.go b/modules/template/template.go index 712185576c..8d602760ad 100644 --- a/modules/template/template.go +++ b/modules/template/template.go @@ -25,6 +25,9 @@ var Funcs template.FuncMap = map[string]interface{}{ "GoVer": func() string { return strings.Title(runtime.Version()) }, + "Protocol": func() string { + return string(setting.Protocol) + }, "AppName": func() string { return setting.AppName }, -- cgit v1.2.3