diff --git a/lib/philomena_web/templates/layout/_opengraph.html.slime b/lib/philomena_web/templates/layout/_opengraph.html.slime index 11a869c1..5c4648b8 100644 --- a/lib/philomena_web/templates/layout/_opengraph.html.slime +++ b/lib/philomena_web/templates/layout/_opengraph.html.slime @@ -24,7 +24,7 @@ meta name="robots" content="noindex, nofollow" - image.image_mime_type == "video/webm" and !filtered -> meta name="og:type" content="video.other" meta name="og:image" content=ImageView.thumb_url(image, false, :rendered) - meta name="og:video" content=Imageview.thumb_url(image, false, :full) + meta name="og:video" content=ImageView.thumb_url(image, false, :full) - image.image_mime_type == "image/svg+xml" and !filtered -> meta name="og:type" content="video.other"