{% assign words_per_minute = site.words_per_minute | default: 200 %} {% for post in paginator.posts %} {% if post.pinned %}
{% if post.cover %}
{% endif %}
{% if post.tags.size > 0 %} {% for tag in post.tags %} {% if forloop.index == post.tags.size %} {{ tag | capitalize }} {% else %} {{ tag | capitalize }} {% endif %} {% endfor %} {% endif %}

{{ post.title }}

{% if post.description %}

{{ post.description }}

{% elsif post.excerpt %}

{{ post.excerpt | strip_html | truncatewords: 33, "" }}

{% else %}

{{ post.content | strip_html | truncatewords: 33, "" }}

{% endif %}
{% endif %} {% endfor %} {% comment %} Copy-pasting the same ~45 LOCs sure goes against the DRY principle... {% endcomment %} {% for post in paginator.posts %} {% unless post.pinned %}
{% if post.cover %}
{% endif %}
{% if post.tags.size > 0 %} {% for tag in post.tags %} {% if forloop.index == post.tags.size %} {{ tag | capitalize }} {% else %} {{ tag | capitalize }} {% endif %} {% endfor %} {% endif %}

{{ post.title }}

{% if post.description %}

{{ post.description }}

{% elsif post.excerpt %}

{{ post.excerpt | strip_html | truncatewords: 33, "" }}

{% else %}

{{ post.content | strip_html | truncatewords: 33, "" }}

{% endif %}
{% endunless %} {% endfor %}