mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-27 02:54:19 +00:00
e98833748e
- Change verification to happen in `default` queue - Change verification worker to only be queued if there's something to do - Add `link` tags from metadata fields to page header of profiles
18 lines
687 B
Plaintext
18 lines
687 B
Plaintext
- content_for :page_title do
|
|
= "#{display_name(@account)} (#{acct(@account)})"
|
|
|
|
- content_for :header_tags do
|
|
- if @account.user_prefers_noindex?
|
|
%meta{ name: 'robots', content: 'noindex, noarchive' }/
|
|
|
|
%link{ rel: 'alternate', type: 'application/rss+xml', href: @rss_url }/
|
|
%link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@account) }/
|
|
|
|
- @account.fields.select(&:verifiable?).each do |field|
|
|
%link{ rel: 'me', type: 'text/html', href: field.value }/
|
|
|
|
= opengraph 'og:type', 'profile'
|
|
= render 'og', account: @account, url: short_account_url(@account, only_path: false)
|
|
|
|
= render partial: 'shared/web_app'
|