diff options
author | mrsdizzie <info@mrsdizzie.com> | 2019-03-18 22:27:34 -0400 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-18 22:27:34 -0400 |
commit | ba2f6a45c8ef44f74772456fc98c27faca058241 (patch) | |
tree | f16b835a0cab3440c87dd1dbeec1d02b993ada8f /templates/base | |
parent | 6a6656ae448d86db3e64db7db3ab4c200fb7966e (diff) | |
download | gitea-ba2f6a45c8ef44f74772456fc98c27faca058241.tar.gz gitea-ba2f6a45c8ef44f74772456fc98c27faca058241.zip |
Include repo name in page title tag (#6343)
Fixes #6265
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 8c2b4c1357..f34e00772a 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -4,7 +4,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> - <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title> + <title>{{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}}</title> <link rel="manifest" href="{{AppSubUrl}}/manifest.json"> <script> |