about summary refs log tree commit diff
path: root/app/views/accounts/_og.html.haml
blob: 3ad39f391d7c51fd2c7aa4db5f3eb1112a5a7bb1 (plain) (blame)
1
2
3
4
5
6
7
8
%meta{ property: 'og:url', content: url }/
%meta{ property: 'og:site_name', content: site_title }/
%meta{ property: 'og:title', content: [yield(:page_title).strip.presence, site_title].compact.join(' - ') }/
%meta{ property: 'og:description', content: account.note }/
%meta{ property: 'og:image', content: full_asset_url(account.avatar.url(:original)) }/
%meta{ property: 'og:image:width', content: '120' }/
%meta{ property: 'og:image:height', content: '120' }/
%meta{ property: 'twitter:card', content: 'summary' }/