about summary refs log tree commit diff
path: root/app/views/accounts/_og.html.haml
blob: 26424a49c9aa7804e89d9d9c83480251c7cac9a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
= opengraph 'og:url', url
= opengraph 'og:site_name', site_title
= opengraph 'og:title', [yield(:page_title).strip.presence, site_title].compact.join(' - ')
= opengraph 'og:description', account_description(account)
= 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