show.html.haml 687 B

1234567891011121314151617
  1. - content_for :page_title do
  2. = "#{display_name(@account)} (#{acct(@account)})"
  3. - content_for :header_tags do
  4. - if @account.user_prefers_noindex?
  5. %meta{ name: 'robots', content: 'noindex, noarchive' }/
  6. %link{ rel: 'alternate', type: 'application/rss+xml', href: @rss_url }/
  7. %link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@account) }/
  8. - @account.fields.select(&:verifiable?).each do |field|
  9. %link{ rel: 'me', type: 'text/html', href: field.value }/
  10. = opengraph 'og:type', 'profile'
  11. = render 'og', account: @account, url: short_account_url(@account, only_path: false)
  12. = render partial: 'shared/web_app'