{%- if entry.title and entry.title.strip() -%} {{ entry.title | safe }} {%- else -%} untitled {%- endif -%}
{% if entry.summary %}{{ entry.summary | striptags | truncate }}
{% elif entry.content %} {% set content = ( ( entry.content | selectattr('type', 'equalto', 'text/html') | first ) or ( entry.content | selectattr('type', 'equalto', 'text/xhtml') | first ) or ( entry.content | selectattr('type', 'equalto', 'text/plain') | first ) ) %} {% if content %}{{ content.value | striptags | truncate }}
{% endif %} {% endif %} {% if entry.enclosures %}-
{% for enclosure in entry.enclosures %}
- {{ enclosure.href.split('/')[-1].split('?')[0] }} with tags {{ enclosure.type }} {% endfor %}