{{ article.post.content | escape | truncate(length=200) }}…
diff --git a/templates/macros.tera b/templates/macros.tera index 0486048..c090fe4 100644 --- a/templates/macros.tera +++ b/templates/macros.tera @@ -1,7 +1,7 @@ {% macro post_card(article) %}
{{ article.post.content | escape | truncate(length=200) }}…
{{ article.post.content | striptags | truncate(length=200) }}…
By {{ article.author.display_name }} ⋅ {{ article.date | date(format="%B %e") }}