14 lines
548 B
Plaintext
14 lines
548 B
Plaintext
- description = account_description(account)
|
|
|
|
%meta{ name: 'description', content: description }/
|
|
|
|
= opengraph 'og:url', url
|
|
= opengraph 'og:site_name', site_title
|
|
= opengraph 'og:title', "#{display_name(account)} (@#{account.username}) • #{site_hostname}"
|
|
= 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', account.local_username_and_domain
|