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.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/template/template.go b/modules/template/template.go
index 6099fcc987..aefb21946d 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -98,6 +98,9 @@ var Funcs template.FuncMap = map[string]interface{}{
return strings.Replace(strings.Replace(str, "%", "%25", -1), "#", "%23", -1)
},
"RenderCommitMessage": RenderCommitMessage,
+ "ThemeColorMetaTag": func() string {
+ return setting.ThemeColorMetaTag
+ },
}
func Safe(raw string) template.HTML {