about summary refs log tree commit diff
path: root/app/views/accounts
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-03-18 20:21:17 -0500
committerDavid Yip <yipdw@member.fsf.org>2018-03-18 20:21:17 -0500
commitab04be2f84132e6b6a83ca86cbabf2cdf13f5894 (patch)
tree589ed30bd629a305a28eeb5a458fa0f83945eca3 /app/views/accounts
parent6a6f680d98d114e3bb26e414ad7e3787a62bd129 (diff)
parentf02411da404f730e3c05dc7dca1ac0f2d631315e (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.haml2
-rw-r--r--app/views/accounts/show.html.haml2
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) }/