title Posts root@najam-ul-saqib:/home/posts$ {% for post in site.posts %} {{ post.title }} {{ post.date | date_to_string }} <p>{{ post.content | strip_html | truncatewords:50 }}</p> </li> {% endfor %}