about summary refs log tree commit diff
path: root/app/views/accounts/_og.html.haml
blob: de948ec6ab56cf5237db3f11cfcf8d0d3f9900f0 (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', account.local_username_and_domain