about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlda Marteau-Hardi <github@ltch.fr>2017-11-27 05:31:26 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-11-27 05:31:26 +0100
commit0ea4478b68e60e442e5b254c2d2bc511e27fea83 (patch)
treec128273c76c65a131b41a571046afaece79721d0
parentfd87e5a53bcaafb886a675c76e9256015e9db897 (diff)
Use account.display_name for og:title single toot pages (#5821)
-rw-r--r--app/views/stream_entries/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml
index 428069931..786a4c0a8 100644
--- a/app/views/stream_entries/show.html.haml
+++ b/app/views/stream_entries/show.html.haml
@@ -8,7 +8,7 @@
 
   = opengraph 'og:site_name', site_title
   = opengraph 'og:type', 'article'
-  = opengraph 'og:title', "#{@account.username} on #{site_hostname}"
+  = opengraph 'og:title', "#{@account.display_name} on #{site_hostname}"
   = opengraph 'og:url', account_stream_entry_url(@account, @stream_entry)
 
   = render 'stream_entries/og_description', activity: @stream_entry.activity