Federated social network node, running on kosmos.social https://kosmos.social
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1002 B

- content_for :page_title do
= display_name(@account)
- content_for :header_tags do
%link{ rel: 'salmon', href: api_salmon_url(@account.id) }/
%link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
%meta{ property: 'og:type', content: 'profile' }/
= render 'og', account: @account, url: account_url(@account, only_path: false)
- if show_landing_strip?
= render partial: 'shared/landing_strip', locals: { account: @account }
%data.p-name{ value: "#{@account.username} on #{site_hostname}" }/
= render 'header', account: @account
- if @statuses.empty?
= render 'nothing_here'
- else
= render partial: 'stream_entries/status', collection: @statuses, as: :status
- if @statuses.size == 20
= link_to safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), short_account_url(@account, max_id: @statuses.last.id), class: 'next', rel: 'next'