--- vars: blog-index.html slug: Blog rss: true sort: 10 --- {% assign num_posts = 5 %} {% for post in site.posts %} {% assign num_posts = num_posts | minus: 1 %} {% if num_posts >= 0 %}
{% include post-header.html item=post %}

{{ post.title }}

{{ post.content }} {% endif %} {% endfor %}