{% capture truncated_content %}{{ post.content | truncatewords: 50, '' }}{% endcapture %} {% if post.content != truncated_content %} {{ truncated_content }}… Read full post. {% else %} {{ post.content}} {% endif %}