{% capture icon %} {% case post.format %} {% when 'gallery' or 'image' %} {% when 'video' %} {% when 'link' %} {% else %} {% endcase %} {% endcapture %}

{% include meta.html %}
{% if post.format == "gallery" %} {{ post.excerpt }} This Gallery contains {{ post.images }} photos. {% else %} {% if post.video %}
{% endif %} {% if post.image %}{{ post.title }}{% endif %} {% if post.description %}{{ post.description }}{% else %}{{ post.content | markdownify | strip_html | truncatewords: 125 }}{% endif %} {% endif %}