show.html.haml 680 B

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