mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 09:34:16 -05:00
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', '120'
|
|
= opengraph 'og:image:height', '120'
|
|
= opengraph 'twitter:card', 'summary'
|
|
= opengraph 'profile:username', acct(account)[1..-1]
|