Improve public status page title (#5985)
This commit is contained in:
parent
1356ed72cd
commit
30d2ea03b0
2 changed files with 4 additions and 0 deletions
|
@ -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' }/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue