summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-15 17:54:44 -0400
committerUnknwon <u@gogs.io>2016-03-15 17:54:44 -0400
commit2df42e369ea8c4441c814e472d3b5dbaa59ff11a (patch)
tree9a5f5fd3182a7667abf82db3767891e147fc2001 /templates
parent1f5bb08c25450e3fe250caa8ad280ade8dfee162 (diff)
parent01ff65a93e495ccd9161e94c2e7b20acbe471c10 (diff)
downloadgitea-2df42e369ea8c4441c814e472d3b5dbaa59ff11a.tar.gz
gitea-2df42e369ea8c4441c814e472d3b5dbaa59ff11a.zip
Merge pull request #2829 from odinuge/htmlmeta
Set description meta tag correctly
Diffstat (limited to 'templates')
-rw-r--r--templates/base/head.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 526a68e495..fc32c73698 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -3,8 +3,8 @@
<head data-suburl="{{AppSubUrl}}">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
- <meta name="author" content="{{if .Repository }}{{.Owner.Name}}{{else}}Gogs - Go Git Service{{end}}" />
- <meta name="description" content="{{if .Repository }}{{.Repository.Name}} - {{.Repository.Description}}{{else}}Gogs (Go Git Service) is a painless self-hosted Git service written in Go{{end}}" />
+ <meta name="author" content="{{if .Repository}}{{.Owner.Name}}{{else}}Gogs - Go Git Service{{end}}" />
+ <meta name="description" content="{{if .Repository}}{{.Repository.Name}}{{if .Repository.Description}} - {{.Repository.Description}}{{end}}{{else}}Gogs (Go Git Service) is a painless self-hosted Git service written in Go{{end}}" />
<meta name="keywords" content="go, git, self-hosted, gogs">
<meta name="referrer" content="no-referrer" />
<meta name="_csrf" content="{{.CsrfToken}}" />