Set OpenGraph title to DisplayName in profile pages
This commit is contained in:
parent
09b76295f1
commit
bb90a62562
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
||||||
</style>
|
</style>
|
||||||
</noscript>
|
</noscript>
|
||||||
{{if .PageIsUserProfile}}
|
{{if .PageIsUserProfile}}
|
||||||
<meta property="og:title" content="{{.Owner.Name}}" />
|
<meta property="og:title" content="{{.Owner.DisplayName}}" />
|
||||||
<meta property="og:type" content="profile" />
|
<meta property="og:type" content="profile" />
|
||||||
<meta property="og:image" content="{{.Owner.AvatarLink}}" />
|
<meta property="og:image" content="{{.Owner.AvatarLink}}" />
|
||||||
<meta property="og:url" content="{{.Owner.HTMLURL}}" />
|
<meta property="og:url" content="{{.Owner.HTMLURL}}" />
|
||||||
|
|
Reference in a new issue