Browse Source

fix presented og:url is incorrect (#5320)

pull/4/head
takayamaki 6 years ago
committed by Eugen Rochko
parent
commit
27101f1beb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/shared/_og.html.haml

+ 1
- 1
app/views/shared/_og.html.haml 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'))

Loading…
Cancel
Save