mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 08:57:54 +01:00
Set OpenGraph title to DisplayName in profile pages (#19206)
Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
5fe764b1eb
commit
f36701c702
@ -71,7 +71,7 @@
|
||||
</style>
|
||||
</noscript>
|
||||
{{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:image" content="{{.Owner.AvatarLink}}" />
|
||||
<meta property="og:url" content="{{.Owner.HTMLURL}}" />
|
||||
|
Loading…
Reference in New Issue
Block a user