diff --git a/layouts/partials/twitter_cards.html b/layouts/partials/twitter_cards.html
index 5fa93c9..fb3bf7c 100644
--- a/layouts/partials/twitter_cards.html
+++ b/layouts/partials/twitter_cards.html
@@ -5,11 +5,23 @@
{{ end }}
{{ with $featured }}
-
+ {{ $ratio := 0 }}
+ {{ if gt .Width .Height }}
+ {{ $ratio = div (float .Width) .Height }}
+ {{ else }}
+ {{ $ratio = div (float .Height) .Width }}
+ {{ end }}
+
+ {{ if lt $ratio 1.75 }}
+
+ {{ else }}
+
+ {{ end }}
+
{{ end }}
-
+
{{ with .Site.Social.twitter }}