From: Alda Marteau-Hardi Date: Mon, 27 Nov 2017 04:31:26 +0000 (+0100) Subject: Use account.display_name for og:title single toot pages (#5821) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=0ea4478b68e60e442e5b254c2d2bc511e27fea83;p=mastodon.git Use account.display_name for og:title single toot pages (#5821) --- 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