{% macro post_card(article) %} {% if article.author.display_name %} {% set name = article.author.display_name %} {% else %} {% set name = article.author.username %} {% endif %}

{{ article.post.title }}

{{ article.post.content | striptags | truncate(length=200) }}

By {{ name }} ⋅ {{ article.date | date(format="%B %e") }}

{% endmacro post_card %}