From 89bc52e250fb0933f20fc23eab6d7b2c1cbdebbe Mon Sep 17 00:00:00 2001 From: Z Date: Wed, 15 Jul 2020 11:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83about=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/styles/mastodon/about.scss | 1 + app/views/about/show.html.haml | 5 +---- config/locales/zh-CN.yml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss index d932bff7c..ed60b09b1 100644 --- a/app/javascript/styles/mastodon/about.scss +++ b/app/javascript/styles/mastodon/about.scss @@ -874,6 +874,7 @@ $small-breakpoint: 960px; color: $ui-primary-color; text-decoration: none; font-size: 14px; + text-align: center; @media screen and (max-width: $no-gap-breakpoint) { position: static; diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml index 32313b949..9cc72785e 100644 --- a/app/views/about/show.html.haml +++ b/app/views/about/show.html.haml @@ -1,6 +1,3 @@ -- content_for :page_title do - = site_hostname - - content_for :header_tags do %link{ rel: 'canonical', href: about_url }/ = render partial: 'shared/og' @@ -9,7 +6,7 @@ .landing__brand = link_to root_url, class: 'brand' do = svg_logo_full - %span.brand__tagline=t 'about.tagline' + %span.brand__tagline=site_title .landing__grid .landing__grid__column.landing__grid__column-registration diff --git a/config/locales/zh-CN.yml b/config/locales/zh-CN.yml index 9685f073d..cf71d2e75 100644 --- a/config/locales/zh-CN.yml +++ b/config/locales/zh-CN.yml @@ -4,7 +4,7 @@ zh-CN: about_hashtag_html: 这里展示的是带有话题标签 #%{hashtag} 的公开嘟文。如果你想与他们互动,你需要在任意一个 Mastodon 站点或与其兼容的网站(例如闭社)上拥有一个帐户。 about_mastodon_html: 闭社 是一个基于Mastodon的建立在开放式网络协议和自由、开源软件之上的内容平台,有着类似于电子邮件的分布式设计。 about_this: 关于本站 - active_count_after: 活跃 + active_count_after: 近期上线 active_footnote: 每月活跃用户 administered_by: 本站管理员: api: API