about summary refs log tree commit diff
path: root/app/views/accounts/_og.html.haml
blob: 839576372b1c45d778cb34a0dc8601a9da55c8d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- 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]