Yoginth преди 7 години
родител
ревизия
830695e921
променени са 1 файла, в които са добавени 10 реда и са изтрити 1 реда
  1. 10 1
      templates/base/head.tmpl

+ 10 - 1
templates/base/head.tmpl

@@ -12,10 +12,13 @@
 	<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="og:site_name" content="{{AppName}}" />
 	<meta property="og:url" content="{{.Owner.HTMLURL}}" />
 	<meta property="og:type" content="profile" />
@@ -30,6 +33,8 @@
 
 	{{else if .PageIsIssueConversation}}
 
+	<meta property="title" content="{{.Title}} · Issue #{{.Issue.Index}} · {{.Repository.FullName}}">
+
 	<meta property="og:site_name" content="{{AppName}}" />
 	<meta property="og:url" content="{{$.Link}}/{{.Index}}" />
 	<meta property="og:type" content="object" />
@@ -44,6 +49,8 @@
 
 	{{else if .Repository}}
 	
+	<meta property="title" content="{{.Repository.FullName}}">
+
 	<meta property="og:site_name" content="{{AppName}}" />
 	<meta property="og:url" content="{{.Repository.HTMLURL}}" />
 	<meta property="og:type" content="object" />
@@ -58,6 +65,8 @@
 	
 	{{else}}
 	
+	<meta property="title" content="{{AppName}}">
+
 	<meta property="og:url" content="{{AppURL}}" />
 	<meta property="og:type" content="website" />
 	<meta property="og:title" content="{{AppName}}">