闭社主体 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.

9 lines
447 B

  1. = opengraph 'og:url', url
  2. = opengraph 'og:site_name', site_title
  3. = opengraph 'og:title', [yield(:page_title).strip.presence, site_title].compact.join(' - ')
  4. = opengraph 'og:description', account.note
  5. = opengraph 'og:image', full_asset_url(account.avatar.url(:original))
  6. = opengraph 'og:image:width', '120'
  7. = opengraph 'og:image:height', '120'
  8. = opengraph 'twitter:card', 'summary'
  9. = opengraph 'profile:username', account.local_username_and_domain