{% if post.external-url %} {% else %} {{ post.title }} {% endif %}
{% if post.content contains "" %}
{{ post.content | split:"" | first % }}
...
{% else %}
{{ post.content | truncatewords:40}}
{% endif %}