闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
517 B

  1. %meta{ property: 'og:url', content: url }/
  2. %meta{ property: 'og:site_name', content: site_title }/
  3. %meta{ property: 'og:title', content: [yield(:page_title).strip.presence, site_title].compact.join(' - ') }/
  4. %meta{ property: 'og:description', content: account.note }/
  5. %meta{ property: 'og:image', content: full_asset_url(account.avatar.url(:original)) }/
  6. %meta{ property: 'og:image:width', content: '120' }/
  7. %meta{ property: 'og:image:height', content: '120' }/
  8. %meta{ property: 'twitter:card', content: 'summary' }/