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.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 {