mirror of
https://github.com/funamitech/mastodon
synced 2024-12-15 15:18:30 +09:00
662a49dc3f
- Fix audio attachments not being represented in OpenGraph tags - Fix audio being represented as "1 image" in OpenGraph descriptions - Fix video metadata being overwritten by paperclip-av-transcoder - Fix embedded player not using Mastodon's UI - Fix audio/video progress bars not moving smoothly - Fix audio/video buffered bars not displaying correctly
14 lines
489 B
Plaintext
14 lines
489 B
Plaintext
- description = account_description(account)
|
|
|
|
%meta{ name: 'description', content: description }/
|
|
|
|
= opengraph 'og:url', url
|
|
= opengraph 'og:site_name', site_title
|
|
= opengraph 'og:title', yield(:page_title).strip
|
|
= opengraph 'og:description', description
|
|
= opengraph 'og:image', full_asset_url(account.avatar.url(:original))
|
|
= opengraph 'og:image:width', '400'
|
|
= opengraph 'og:image:height', '400'
|
|
= opengraph 'twitter:card', 'summary'
|
|
= opengraph 'profile:username', acct(account)[1..-1]
|