Skip to content

Commit ac2e99c

Browse files
committed
Set OpenGraph title to DisplayName in profile pages
1 parent 909804b commit ac2e99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/head.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
</style>
7272
</noscript>
7373
{{if .PageIsUserProfile}}
74-
<meta property="og:title" content="{{.Owner.Name}}" />
74+
<meta property="og:title" content="{{.Owner.DisplayName}}" />
7575
<meta property="og:type" content="profile" />
7676
<meta property="og:image" content="{{.Owner.AvatarLink}}" />
7777
<meta property="og:url" content="{{.Owner.HTMLURL}}" />

0 commit comments

Comments
 (0)