mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-27 08:14:25 +00:00
2510119f19
* Add meta tags for OGP to following & follow page * simplify render helper * Follow up #2133 * og:type is only accounts/show * revert accounts/{following,followers}
8 lines
474 B
Plaintext
8 lines
474 B
Plaintext
%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' }/
|