templates: use owner's avatar as image of repository

This commit is contained in:
Unknwon
2017-03-10 17:00:10 -05:00
parent 8fa6d0d302
commit 60ee79363d

View File

@@ -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" />