Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 578 Bytes

archives.md

File metadata and controls

15 lines (15 loc) · 578 Bytes
layout title
default
归档:Archives
    {% for post in site.posts limit:100 %} {% unless post.next %}

    {{ post.date | date: '%Y' }}

    {% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %}

    {{ post.date | date: '%Y' }}

    {% endif %} {% endunless %}
  • {{ post.date | date_to_string }}»{{ post.title }}

  • {% endfor %}