{% assign post_1 = site.posts[0] %} {% assign post_2 = site.posts[1] %} {% assign post_3 = site.posts[2] %}

{{ page.title }}

{% if post_1 != nil %}

{{post_1.title}}

Published on {{ post_1.date | date: "%Y-%m-%d"}} by {{ post_1.author }}

{% if post_1.content contains '' %} {{ post_1.content | split:'' | first | markdownify}} read more {% else %} {{ post_1.content | truncatewords: site.big-post-preview-words, "" | markdownify }} {% if (post_1.content | number_of_words) > site.big-post-preview-words %} read more {% endif %} {% endif %}
{% endif %}
{% if post_2 != nil %}

{{ post_2.title }}

Published on {{ post_2.date | date: "%Y-%m-%d"}} by {{ post_2.author }}

{% if post_2.content contains '' %} {{ post_2.content | split:'' | first | markdownify}} read more {% else %} {{ post_2.content | truncatewords: site.post-preview-words, "" | markdownify }} {% if (post_2.content | number_of_words) > site.post-preview-words %} read more {% endif %} {% endif %}
{% endif %} {% if post_3 != nil %}

{{ post_3.title }}

Published on {{ post_3.date | date: "%Y-%m-%d"}} by {{ post_3.author }}

{% if post_3.content contains '' %} {{ post_3.content | split:'' | first | markdownify}} read more {% else %} {{ post_3.content | truncatewords: site.post-preview-words, "" | markdownify }} {% if (post_3.content | number_of_words) > site.post-preview-words %} read more {% endif %} {% endif %}
{% endif %}