summaryrefslogtreecommitdiffstats
path: root/modules/template/template.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-24 18:49:34 -0500
committerUnknwon <u@gogs.io>2015-11-24 18:49:34 -0500
commit7f9598141bd7b0200d9342f01243228eab3061ba (patch)
treec9e5bf147ba72a7f7eb4968f129e32b444b4682b /modules/template/template.go
parent56c66ee486b4b8d544201662de62a23f36e6a069 (diff)
downloadgitea-7f9598141bd7b0200d9342f01243228eab3061ba.tar.gz
gitea-7f9598141bd7b0200d9342f01243228eab3061ba.zip
fix #2020
Diffstat (limited to 'modules/template/template.go')
-rw-r--r--modules/template/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/template/template.go b/modules/template/template.go
index 37c7d79351..c408ac8a26 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -88,7 +88,7 @@ var Funcs template.FuncMap = map[string]interface{}{
"DiffLineTypeToStr": DiffLineTypeToStr,
"Sha1": Sha1,
"ShortSha": base.ShortSha,
- "Md5": base.EncodeMd5,
+ "MD5": base.EncodeMD5,
"ActionContent2Commits": ActionContent2Commits,
"ToUtf8": ToUtf8,
"EscapePound": func(str string) string {