diff options
author | Unknwon <u@gogs.io> | 2015-11-24 18:49:34 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-24 18:49:34 -0500 |
commit | 7f9598141bd7b0200d9342f01243228eab3061ba (patch) | |
tree | c9e5bf147ba72a7f7eb4968f129e32b444b4682b /modules/template | |
parent | 56c66ee486b4b8d544201662de62a23f36e6a069 (diff) | |
download | gitea-7f9598141bd7b0200d9342f01243228eab3061ba.tar.gz gitea-7f9598141bd7b0200d9342f01243228eab3061ba.zip |
fix #2020
Diffstat (limited to 'modules/template')
-rw-r--r-- | modules/template/template.go | 2 |
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 { |