{% case post.layout %} {% when 'video' %} {{ post.content }} {% else %} {{ post.content }} {% endcase %}