{{ $images := $.Resources.ByType "image" }}
{{ $featured := $images.GetMatch "*feature*" }}
{{ if not $featured }}
    {{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}
{{ 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 }}
    
{{ end }}