{%-assign peeps = site.collections | where: "label", 'people' | first-%} {%-assign placeholder = site.static_files | where: 'name', 'placeholder.png' | first-%} {% if paginator.posts != nil and site.paginate %} {% assign posts = paginator.posts %} {% elsif page.layout == "page" %} {% assign posts = site.posts %} {% else %} {% assign posts = page.posts %} {% endif %} {% for post in posts %}
{% if image or placeholder.name-%}
{% include item_image.html %}
{%-include categories.html %}
{%-if post.series %}
{{-post.series | replace: '-',' ' | capitalize-}}
{%-endif %}
{%-endif %}
{%-assign modified_date = post.modified_date | default: post.last_modified_at-%} {%-if modified_date-%} {% include date_modified.html item_date=modified_date lead_in='last modified: '-%} {%-endif %}
{% include item_date.html %}

{{-post.title-}}

{% if post.subtitle-%}

{{-post.subtitle-}}

{%-endif %}

{{-post.excerpt | strip_html-}}

{%-include tags.html %}

{% endfor %}