1
0

_og.html.haml 487 B

12345678910111213
  1. - description = account_description(account)
  2. %meta{ name: 'description', content: description }/
  3. = opengraph 'og:url', url
  4. = opengraph 'og:site_name', site_title
  5. = opengraph 'og:title', yield(:page_title).strip
  6. = opengraph 'og:description', description
  7. = opengraph 'og:image', full_asset_url(account.avatar.url(:original))
  8. = opengraph 'og:image:width', '400'
  9. = opengraph 'og:image:height', '400'
  10. = opengraph 'twitter:card', 'summary'
  11. = opengraph 'profile:username', acct(account)[1..]