layout base Posts {% for post in site.posts %} {{ post.title }} {{ post.date | date: "%Y-%m-%d" }} {% if post.tags %} {{ post.tags | join: " | " }} {% endif %} {{ post.content | strip_html | truncatewords: 50 }} {% endfor %}