diff options
author | takayamaki <fsgiko@gmail.com> | 2017-10-12 02:22:21 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-11 19:22:21 +0200 |
commit | 27101f1bebf8beb96a027dba6852529e3f1b66ab (patch) | |
tree | 07808c4b76e23c8e66aacf2d7b94ab80fa8d8455 | |
parent | 1823cf435a30af3d54e8b2a072df6f8d6fa59c6d (diff) |
fix presented og:url is incorrect (#5320)
-rw-r--r-- | app/views/shared/_og.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
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')) |