diff options
author | David Yip <yipdw@member.fsf.org> | 2018-03-18 20:21:17 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2018-03-18 20:21:17 -0500 |
commit | ab04be2f84132e6b6a83ca86cbabf2cdf13f5894 (patch) | |
tree | 589ed30bd629a305a28eeb5a458fa0f83945eca3 /app/views/accounts | |
parent | 6a6f680d98d114e3bb26e414ad7e3787a62bd129 (diff) | |
parent | f02411da404f730e3c05dc7dca1ac0f2d631315e (diff) |
Merge remote-tracking branch 'origin/master' into gs-master
Conflicts: config/i18n-tasks.yml
Diffstat (limited to 'app/views/accounts')
-rw-r--r-- | app/views/accounts/_og.html.haml | 2 | ||||
-rw-r--r-- | app/views/accounts/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/accounts/_og.html.haml b/app/views/accounts/_og.html.haml index 26424a49c..a583b39c2 100644 --- a/app/views/accounts/_og.html.haml +++ b/app/views/accounts/_og.html.haml @@ -1,6 +1,6 @@ = opengraph 'og:url', url = opengraph 'og:site_name', site_title -= opengraph 'og:title', [yield(:page_title).strip.presence, site_title].compact.join(' - ') += opengraph 'og:title', yield(:page_title).strip = opengraph 'og:description', account_description(account) = opengraph 'og:image', full_asset_url(account.avatar.url(:original)) = opengraph 'og:image:width', '120' diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index c62a573b0..bbf2139a5 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -1,5 +1,5 @@ - content_for :page_title do - = "#{display_name(@account)} (@#{@account.username})" + = "#{display_name(@account)} (@#{@account.local_username_and_domain})" - content_for :header_tags do %meta{ name: 'description', content: account_description(@account) }/ |