diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-02-08 17:03:18 -0200 |
---|---|---|
committer | Andrey Nering <andrey.nering@gmail.com> | 2016-02-08 17:03:18 -0200 |
commit | e40d94bb4f46a60b15a1d461f1fbbf76130a07e0 (patch) | |
tree | 7b8052d8f28ba4ac76db26f094ce58a9776e4bea /templates | |
parent | 7ffe845c61fde3b2eac821a303668206b014a666 (diff) | |
download | gitea-e40d94bb4f46a60b15a1d461f1fbbf76130a07e0.tar.gz gitea-e40d94bb4f46a60b15a1d461f1fbbf76130a07e0.zip |
Implementing the "theme-color" meta tag.
Used by Android >= 5.0 to make the top bar colored.
Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index ce78613534..0ef9ea93d9 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -34,6 +34,8 @@ <script src="{{AppSubUrl}}/js/gogs.js?v={{MD5 AppVer}}"></script> <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title> + + <meta name="theme-color" content="{{ThemeColorMetaTag}}"> </head> <body> <div class="full height"> |