{%- comment -%} One resource as a list-group item: title, date, and a short summary. Usage: {% include resource-list-item.htm resource=r %} The summary is the front matter excerpt; auto-generated ones that only point at the downloadable PDF are skipped. {%- endcomment -%} {%- assign r = include.resource -%} {%- assign summary = r.excerpt | strip_html | strip_newlines | strip -%}
{{ summary | truncate: 220 }}
{%- endunless %}