mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 09:21:38 +01:00
a1174a6d7e
* add og:url to stream_item view * add og:url and text to about/show * add og:url to profile, followers and follows pages
8 lines
517 B
Text
8 lines
517 B
Text
%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' }/
|