Change link previews for statuses to never use avatar as fallback (#23376)

main
Eugen Rochko 2 years ago committed by GitHub
parent 7e04b15ad8
commit f98e4c662e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,7 +45,4 @@
- else - else
= opengraph 'twitter:card', 'summary_large_image' = opengraph 'twitter:card', 'summary_large_image'
- else - else
= opengraph 'og:image', full_asset_url(account.avatar.url(:original))
= opengraph 'og:image:width', '400'
= opengraph 'og:image:height','400'
= opengraph 'twitter:card', 'summary' = opengraph 'twitter:card', 'summary'

Loading…
Cancel
Save