summaryrefslogtreecommitdiffstats
path: root/modules/template/template.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-24 00:23:54 +0800
committerUnknwon <u@gogs.io>2016-07-24 00:23:54 +0800
commit46e96c008cf966428c9dad71c7871de88186e3fe (patch)
tree57e276d8f971c74a6dac841352ec2bee96e93d8f /modules/template/template.go
parent256cd6374adf646a46265efe18a2d3f822bf7269 (diff)
downloadgitea-46e96c008cf966428c9dad71c7871de88186e3fe.tar.gz
gitea-46e96c008cf966428c9dad71c7871de88186e3fe.zip
Use struct for UI settings
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 5702d1dd39..ed5b08a2ec 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -102,7 +102,7 @@ func NewFuncMap() []template.FuncMap {
},
"RenderCommitMessage": RenderCommitMessage,
"ThemeColorMetaTag": func() string {
- return setting.ThemeColorMetaTag
+ return setting.UI.ThemeColorMetaTag
},
}}
}