fix presented og:url is incorrect (#5320)

lolsob-rspec
takayamaki 2017-10-12 02:22:21 +09:00 committed by Eugen Rochko
parent 794e015ea2
commit 4ee024e296
1 changed files with 1 additions and 1 deletions

View File

@ -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'))