lib/jekyll-bits/picture.rb in jekyll-bits-0.12 vs lib/jekyll-bits/picture.rb in jekyll-bits-0.13
- old
+ new
@@ -46,10 +46,10 @@
end
if height
html += "<meta name='og:image:height' content='#{height}'/>
<meta name='twitter:image:height' content='#{height}'/>"
end
- if width && width >= 1024 && height && height >= 768
+ if width && width >= 640 && height && height >= 480
html += "<meta name='twitter:card' content='summary_large_image'/>"
else
html += "<meta name='twitter:card' content='summary'/>"
end
html += "<meta name='twitter:image:alt' \