Skip to content

Commit f36701c

Browse files
catdevnulllafriks
andauthored
Set OpenGraph title to DisplayName in profile pages (#19206)
Co-authored-by: Lauris BH <[email protected]>
1 parent 5fe764b commit f36701c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/head.tmpl

+1-1
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)