Explorar o código

templates: use owner's avatar as image of repository

Unknwon %!s(int64=8) %!d(string=hai) anos
pai
achega
60ee79363d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      templates/base/head.tmpl

+ 1 - 0
templates/base/head.tmpl

@@ -29,6 +29,7 @@
 		<meta property="og:type" content="object" />
 		<meta property="og:title" content="{{.Repository.FullName}}">
 		<meta property="og:description" content="{{.Repository.Description}}">
+		<meta property="og:image" content="{{.Repository.Owner.AvatarLink}}" />
 	{{else}}
 		<meta property="og:url" content="{{AppUrl}}" />
 		<meta property="og:type" content="website" />