Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 630 Bytes

c_archives.md

File metadata and controls

31 lines (24 loc) · 630 Bytes
layout title permalink
page
Archives
/archives/

    {% if site.posts != empty %}

    {% for post in site.posts %} {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} {% unless year == this_year %} {% assign year = this_year %} {% unless post == site.posts.first %} {% endunless %}

  • {{ year }}
  • {% endunless %} {{ post.date | date:"%Y-%m-%d" }} » {{ post.title | capitalize }}
    {% endfor %}

    {% else %}

    No posts

    {% endif %}