소스 검색

Improve public status page title (#5985)

master
Eugen Rochko 6 년 전
committed by GitHub
부모
커밋
30d2ea03b0
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      app/views/stream_entries/show.html.haml
  2. +1
    -0
      config/locales/en.yml

+ 3
- 0
app/views/stream_entries/show.html.haml 파일 보기

@@ -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' }/


+ 1
- 0
config/locales/en.yml 파일 보기

@@ -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


불러오는 중...
취소
저장