Improve public status page title (#5985)

lolsob-rspec
Eugen Rochko 2017-12-12 03:56:30 +01:00 committed by GitHub
parent 7f286d1af0
commit d5f4baf720
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
- content_for :page_title do
= t('statuses.title', name: display_name(@account), quote: truncate(@stream_entry.activity.text, length: 50, omission: '…'))
- content_for :header_tags do
- if @account.user&.setting_noindex
%meta{ name: 'robots', content: 'noindex' }/

View File

@ -599,6 +599,7 @@ en:
private: Non-public toot cannot be pinned
reblog: A boost cannot be pinned
show_more: Show more
title: '%{name}: "%{quote}"'
visibilities:
private: Followers-only
private_long: Only show to followers