layout: default
<div class=“content”>
{% include pagination-newer.html %} {{ content }} {% for post in paginator.posts %} <article class="post-body"> <h2 class="post-title"> <a href="{{ post.url | relative_url }}"> {{ post.title }} </a> </h2> {% include post-meta.html post=post %} {% if post.excerpt %} {{ post.excerpt }} {% else %} {{ post.content }} {% endif %} {% if post.excerpt %} {% comment %}Excerpt may be equal to content. Check.{% endcomment %} {% capture content_words %} {{ post.content | number_of_words }} {% endcapture %} {% capture excerpt_words %} {{ post.excerpt | number_of_words }} {% endcapture %} {% if content_words != excerpt_words %} <a href="{{ post.url | relative_url }}">More …</a> {% endif %} {% endif %} </article> {% endfor %} {% include pagination-older.html %}
</div>