8d6d85f829
• Update: - account, status meta tags
20 lines
858 B
Plaintext
20 lines
858 B
Plaintext
- content_for :page_title do
|
|
= "#{display_name(account)} (@#{account.username}) • #{site_hostname}"
|
|
|
|
- content_for :header_tags do
|
|
- if account.user&.setting_noindex
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
|
|
|
%link{ rel: 'salmon', href: api_salmon_url(account.id) }/
|
|
%link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(account, format: 'atom') }/
|
|
%link{ rel: 'alternate', type: 'application/rss+xml', href: account_url(account, format: 'rss') }/
|
|
%link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(account) }/
|
|
|
|
= opengraph 'og:type', 'profile'
|
|
= render 'accounts/og', account: account, url: short_account_url(account, only_path: false)
|
|
|
|
- if older_url
|
|
%link{ rel: 'next', href: older_url }/
|
|
- if newer_url
|
|
%link{ rel: 'prev', href: newer_url }/
|