2016-03-19 12:49:34 +01:00
|
|
|
- content_for :page_title do
|
2020-02-03 18:44:54 +01:00
|
|
|
= "#{display_name(@account)} (#{acct(@account)})"
|
2016-03-19 12:49:34 +01:00
|
|
|
|
2016-02-28 14:41:01 +01:00
|
|
|
- content_for :header_tags do
|
2022-10-20 14:35:29 +02:00
|
|
|
- if @account.user_prefers_noindex?
|
2019-07-28 13:46:04 +02:00
|
|
|
%meta{ name: 'robots', content: 'noindex, noarchive' }/
|
2017-07-14 16:41:02 +02:00
|
|
|
|
2019-08-18 20:54:36 +02:00
|
|
|
%link{ rel: 'alternate', type: 'application/rss+xml', href: @rss_url }/
|
2017-08-13 00:45:04 +02:00
|
|
|
%link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@account) }/
|
2016-02-28 14:41:01 +01:00
|
|
|
|
2022-11-09 08:24:21 +01:00
|
|
|
- @account.fields.select(&:verifiable?).each do |field|
|
|
|
|
%link{ rel: 'me', type: 'text/html', href: field.value }/
|
|
|
|
|
2017-09-12 05:39:38 +02:00
|
|
|
= opengraph 'og:type', 'profile'
|
2017-05-13 15:56:42 +02:00
|
|
|
= render 'og', account: @account, url: short_account_url(@account, only_path: false)
|
2016-12-09 11:56:27 +01:00
|
|
|
|
2022-10-20 14:35:29 +02:00
|
|
|
= render partial: 'shared/web_app'
|