Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 1.04 KB

archive.md

File metadata and controls

29 lines (26 loc) · 1.04 KB
title permalink layout excerpt comments
Archive
/archive/
page
All post.
false

    {%- for post in site.posts -%} {%- capture current_year -%}{{ post.date | date: "%Y" }}{%- endcapture -%} {%- unless current_year == previous_year -%}

    {{ current_year }}

    {%- assign previous_year = current_year -%} {%- endunless -%}

    {%- endfor -%}