mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Set OpenGraph title to DisplayName in profile pages (#19206)
Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		| @@ -71,7 +71,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 New Issue
	
	Block a user