Clean up and improve generated OpenGraph tags (#4901)
- Return all images as og:image - Return videos as og:image (preview) and og:video - Return profile:username on profiles
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
  %link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
 | 
			
		||||
  %link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@account) }/
 | 
			
		||||
 | 
			
		||||
  %meta{ property: 'og:type', content: 'profile' }/
 | 
			
		||||
  = opengraph 'og:type', 'profile'
 | 
			
		||||
  = render 'og', account: @account, url: short_account_url(@account, only_path: false)
 | 
			
		||||
 | 
			
		||||
- if show_landing_strip?
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user