%= case @thumbs[@post.id] do %> <% thumb = %Legendary.Content.Post{} -> %> <%= if thumb |> Legendary.Content.Attachment.vertical?() do %>