commit: 27101f1bebf8beb96a027dba6852529e3f1b66ab
parent: 1823cf435a30af3d54e8b2a072df6f8d6fa59c6d
Author: takayamaki <fsgiko@gmail.com>
Date: Thu, 12 Oct 2017 02:22:21 +0900
fix presented og:url is incorrect (#5320)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'))