-{% assign num_posts = 5 %}
-{% for post in site.posts %}
- {% assign num_posts = num_posts | minus: 1 %}
- {% if num_posts >= 0 %}
- <header class="subtitle">
- {% include post-header.html item=post %}
- <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
- </header>
- {{ post.excerpt }}