Browse Source

Added Description tag

Yoginth 7 years ago
parent
commit
a03797b098
1 changed files with 8 additions and 8 deletions
  1. 8 8
      templates/base/head.tmpl

+ 8 - 8
templates/base/head.tmpl

@@ -16,8 +16,8 @@
 	{{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 name="title" content="{{.Owner.Name}}{{if .Owner.FullName}} ({{.Owner.FullName}}){{end}}">
+	<meta name="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}}" />
@@ -33,8 +33,8 @@
 
 	{{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 name="title" content="{{.Title}} · Issue #{{.Issue.Index}} · {{.Repository.FullName}}">
+ 	<meta name="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,8 +50,8 @@
 
 	{{else if .Repository}}
 	
-	<meta property="title" content="{{.Repository.FullName}}">
-	<meta property="description" content="{{.Repository.Description}}">
+	<meta name="title" content="{{.Repository.FullName}}">
+	<meta name="description" content="{{.Repository.Description}}">
 
 	<meta property="og:site_name" content="{{AppName}}" />
 	<meta property="og:url" content="{{.Repository.HTMLURL}}" />
@@ -67,8 +67,8 @@
 	
 	{{else}}
 	
-	<meta property="title" content="{{AppName}}">
-	<meta property="description" content="Software version control made simple">
+	<meta name="title" content="{{AppName}}">
+	<meta name="description" content="Software version control made simple">
 	
 	<meta property="og:url" content="{{AppURL}}" />
 	<meta property="og:type" content="website" />