Improve public status page title (#5985)

master
Eugen Rochko 7 years ago committed by GitHub
parent 1356ed72cd
commit 30d2ea03b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/views/stream_entries/show.html.haml
  2. 1
      config/locales/en.yml

@ -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 - content_for :header_tags do
- if @account.user&.setting_noindex - if @account.user&.setting_noindex
%meta{ name: 'robots', content: 'noindex' }/ %meta{ name: 'robots', content: 'noindex' }/

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

Loading…
Cancel
Save