diff --git a/templates/page/post/_post_card.html.twig b/templates/page/post/_post_card.html.twig index 0862143..11b1edc 100644 --- a/templates/page/post/_post_card.html.twig +++ b/templates/page/post/_post_card.html.twig @@ -38,5 +38,5 @@ {% set content = content|striptags[:summarySize] %} -
{{ content }}{% if content|length >= summarySize %}…{% endif %}
+{{- content -}}{% if content|length >= summarySize %}…{% endif %}