|
|
@@ -12,12 +12,12 @@
|
|
|
<meta name="_csrf" content="{{.CSRFToken}}" />
|
|
|
<meta name="_suburl" content="{{AppSubURL}}" />
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
|
- <meta name="description" content="Software version control made simple"/>
|
|
|
|
|
|
{{if .PageIsAdmin}}
|
|
|
{{else if .PageIsUserProfile}}
|
|
|
|
|
|
<meta property="title" content="{{.Owner.Name}}{{if .Owner.FullName}} ({{.Owner.FullName}}){{end}}">
|
|
|
+ <meta property="description" content="{{.Owner.FullName}} has {{.Owner.NumFollowers}} followers and is following {{.Owner.NumFollowing}} people.">
|
|
|
|
|
|
<meta property="og:site_name" content="{{AppName}}" />
|
|
|
<meta property="og:url" content="{{.Owner.HTMLURL}}" />
|
|
|
@@ -34,6 +34,7 @@
|
|
|
{{else if .PageIsIssueConversation}}
|
|
|
|
|
|
<meta property="title" content="{{.Title}} · Issue #{{.Issue.Index}} · {{.Repository.FullName}}">
|
|
|
+ <meta property="description" content="{{if .Issue.RenderedContent}}{{IssueDesc .Issue.RenderedContent|Str2html}}{{end}}">
|
|
|
|
|
|
<meta property="og:site_name" content="{{AppName}}" />
|
|
|
<meta property="og:url" content="{{$.Link}}/{{.Index}}" />
|
|
|
@@ -50,6 +51,7 @@
|
|
|
{{else if .Repository}}
|
|
|
|
|
|
<meta property="title" content="{{.Repository.FullName}}">
|
|
|
+ <meta property="description" content="{{.Repository.Description}}">
|
|
|
|
|
|
<meta property="og:site_name" content="{{AppName}}" />
|
|
|
<meta property="og:url" content="{{.Repository.HTMLURL}}" />
|
|
|
@@ -66,7 +68,8 @@
|
|
|
{{else}}
|
|
|
|
|
|
<meta property="title" content="{{AppName}}">
|
|
|
-
|
|
|
+ <meta property="description" content="Software version control made simple">
|
|
|
+
|
|
|
<meta property="og:url" content="{{AppURL}}" />
|
|
|
<meta property="og:type" content="website" />
|
|
|
<meta property="og:title" content="{{AppName}}">
|