diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-17 20:04:58 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-17 20:04:58 +0800 |
commit | a30e72323d1f8f6be7716a0548d99ef06807172b (patch) | |
tree | ea47ee0ed1836c47edd13267aefab1daf14fefe0 /modules/base/template.go | |
parent | 914ce405af975a6bf65cedd279e1bf75ca1671d5 (diff) | |
parent | 5bc2a1a6f98ae42ab5c30299d26082ffae54b859 (diff) |
merge
Diffstat (limited to 'modules/base/template.go')
-rw-r--r-- | modules/base/template.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/base/template.go b/modules/base/template.go index b38ab140..4517cd47 100644 --- a/modules/base/template.go +++ b/modules/base/template.go @@ -19,6 +19,10 @@ var TemplateFuncs template.FuncMap = map[string]interface{}{ "AppVer": func() string { return AppVer }, + "AppDomain": func() string { + return Domain + }, + "AvatarLink": AvatarLink, "str2html": Str2html, "TimeSince": TimeSince, "FileSize": FileSize, |