{% if item._type == 'entry' %}
{% set entry = item.object %}
{% set author = entry.authors|length ? entry.authors|first : null %}
{{ entry.title }} | {{ 'global.titles.since'|trans }} {{ entry.publishedAt|time_ago }}
{% if author %}
{{ author.name }}
{% endif %}
{% if entry.categories|length %}
{{ 'content_organization.titles.category'|trans }}:
{% endif %}
{{ include(entry.type.summaryTemplate, {'entry': entry }) }}
{% elseif item._type == 'collection' %}
{% set collection = item.object[0] %}
{% set author = collection.author ? collection.author : null %}
{% endif %}