diff options
author | Unknwon <u@gogs.io> | 2016-02-08 15:03:08 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-08 15:03:08 -0500 |
commit | 8bf3032b16039a0a87e02a842475a04846325258 (patch) | |
tree | 7b8052d8f28ba4ac76db26f094ce58a9776e4bea /modules/template | |
parent | 7ffe845c61fde3b2eac821a303668206b014a666 (diff) | |
parent | e40d94bb4f46a60b15a1d461f1fbbf76130a07e0 (diff) | |
download | gitea-8bf3032b16039a0a87e02a842475a04846325258.tar.gz gitea-8bf3032b16039a0a87e02a842475a04846325258.zip |
Merge pull request #2585 from andreynering/theme-color-meta-tag
Implementing the "theme-color" meta tag.
Diffstat (limited to 'modules/template')
-rw-r--r-- | modules/template/template.go | 3 |
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 { |