--- layout: page --- {{ content }} {% assign posts = paginator.posts | default: site.posts %}
{% for post in posts %}

{{ post.title }}

{% if post.subtitle %}

{{ post.subtitle }}

{% endif %}
{%- capture thumbnail -%} {% if post.thumbnail-img %} {{ post.thumbnail-img }} {% elsif post.cover-img %} {% if post.cover-img.first %} {{ post.cover-img[0].first.first }} {% else %} {{ post.cover-img }} {% endif %} {% else %} {% endif %} {% endcapture %} {% assign thumbnail=thumbnail | strip %} {% if thumbnail != "" %}
Post thumbnail
{% endif %}
{% assign excerpt_length = site.excerpt_length | default: 50 %} {{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }} {% assign excerpt_word_count = post.excerpt | number_of_words %} {% if post.content != post.excerpt or excerpt_word_count > excerpt_length %} [Read More] {% endif %}
{% if post.tags.size > 0 %}
Tags: {% for tag in post.tags %} {{- tag -}} {% endfor %}
{% endif %}
{% endfor %}
{% if paginator.total_pages > 1 %} {% endif %}