mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 19:18:07 +01:00
839f893168
* Change public accounts pages to mount the web UI * Fix handling of remote usernames in routes - When logged in, serve web app - When logged out, redirect to permalink - Fix `app-body` class not being set sometimes due to name conflict * Fix missing `multiColumn` prop * Fix failing test * Use `discoverable` attribute to control indexing directives * Fix `<ColumnLoading />` not using `multiColumn` * Add `noindex` to accounts in REST API * Change noindex directive to not be rendered by default before a route is mounted * Add loading indicator for detailed status in web UI * Fix missing indicator appearing while account is loading in web UI
14 lines
566 B
Text
14 lines
566 B
Text
- 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) }/
|
|
|
|
= opengraph 'og:type', 'profile'
|
|
= render 'og', account: @account, url: short_account_url(@account, only_path: false)
|
|
|
|
= render partial: 'shared/web_app'
|