diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-06-13 10:36:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 10:36:04 +0200 |
commit | 800e87ae9133c748606d2461613d85597033fea2 (patch) | |
tree | 8ed50e08f3de377e7b1e264a3029f52f56d3d58e /app/views/shared/_og.html.haml | |
parent | 970f06331bc7e482226e974c468b559a9e2f3fa3 (diff) | |
parent | f938afee7229d7218559069c3dd968f131b6219c (diff) |
Merge pull request #1798 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/shared/_og.html.haml')
-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 c8f12974e..7feae1b8b 100644 --- a/app/views/shared/_og.html.haml +++ b/app/views/shared/_og.html.haml @@ -8,7 +8,7 @@ = opengraph 'og:type', 'website' = opengraph 'og:title', @instance_presenter.site_title = opengraph 'og:description', description -= opengraph 'og:image', full_asset_url(thumbnail&.file&.url || asset_pack_path('media/images/preview.jpg', protocol: :request)) += opengraph 'og:image', full_asset_url(thumbnail&.file&.url || asset_pack_path('media/images/preview.png', protocol: :request)) = opengraph 'og:image:width', thumbnail ? thumbnail.meta['width'] : '1200' = opengraph 'og:image:height', thumbnail ? thumbnail.meta['height'] : '630' = opengraph 'twitter:card', 'summary_large_image' |