{%- assign item = include.item -%}
{% if item.header.teaser %} {% capture img_path %} {{ "/assets/images/" | relative_url | append: item.header.teaser }} {% endcapture %} {% capture img_alt %} {{ item.title }} {% endcapture %} {% elsif site.teaser %} {% capture img_path %} {{ "/assets/images/" | relative_url | append: site.teaser }} {% endcapture %} {% capture img_alt %} {{ site.title }} post teaser {% endcapture %} {% endif %} {% if img_path %}
{{ img_alt | strip }}
{% endif %}

{{ item.title | strip | strip_html | strip_newlines | truncate: 60 }}

{{ item.date | date: "%b %-d, %Y" }}

{{ item.excerpt | strip | strip_html | strip_newlines | truncate: 180 }}