From: takayamaki Date: Wed, 11 Oct 2017 17:22:21 +0000 (+0900) Subject: fix presented og:url is incorrect (#5320) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=27101f1bebf8beb96a027dba6852529e3f1b66ab;p=mastodon.git fix presented og:url is incorrect (#5320) --- diff --git a/app/views/shared/_og.html.haml b/app/views/shared/_og.html.haml index dbd476915..a6d805bea 100644 --- a/app/views/shared/_og.html.haml +++ b/app/views/shared/_og.html.haml @@ -1,6 +1,6 @@ - thumbnail = @instance_presenter.thumbnail = opengraph 'og:site_name', t('about.hosted_on', domain: site_hostname) -= opengraph 'og:url', about_url += opengraph 'og:url', url_for(only_path: false) = opengraph 'og:type', 'website' = opengraph 'og:title', @instance_presenter.site_title = opengraph 'og:description', strip_tags(@instance_presenter.site_description.presence || t('about.about_mastodon_html'))