{% for post in posts %} {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %} {% capture this_day %}{{ post.date | date: "%d" }}{% endcapture %} {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %} {% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %} {% if forloop.first %} {% comment %}

{{this_year}}

{{ this_month }}

{% endcomment %}
{% endif %}
{{ post.date | date: "%e" }} {{ post.date | date: "%b" }}

{{ post.title }}

{% if post.authors %} {% for a in post.authors %} {% if a.url %}{{ a.name }}{% else %}{{a.name}}{% endif %}{% if forloop.last == false %},{% endif %} {% endfor %} {%endif%}

{% if post.summary %} {{ post.summary }} {% else if post.excerpt %} {{ post.excerpt }} {% endif %}

{% if post.image %} {% endif %}
{% if post.categories.size > 0 %} Categories: {% for c in post.categories %} {{ c }}{% if forloop.last == false %},{% endif %} {% endfor %} {% endif %}
{% if forloop.last %}
{% else %} {% if this_year != next_year %}
{% comment %}

{{next_year}}

{{ next_month }}

{% endcomment %}
{% else %} {% if this_month != next_month %}
{% comment %}

{{ next_month }}

{% endcomment %}
{% endif %} {% endif %} {% endif %} {% endfor %}