mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
13 lines
487 B
Text
13 lines
487 B
Text
- 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..]
|