diff options
author | Nulo <86896666+catdevnull@users.noreply.github.com> | 2022-03-25 18:15:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 20:15:13 +0200 |
commit | f36701c702dc67011999cfaaf37e002c13e7a87e (patch) | |
tree | 6dc6259d2bc907a9a2c8cf54c18b8bae4fdad095 /templates | |
parent | 5fe764b1eb7bf4da752b047c25794316f31b68d6 (diff) | |
download | gitea-f36701c702dc67011999cfaaf37e002c13e7a87e.tar.gz gitea-f36701c702dc67011999cfaaf37e002c13e7a87e.zip |
Set OpenGraph title to DisplayName in profile pages (#19206)
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 666246a18a..68d14af51d 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -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}}" /> |