Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (15 sloc) 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 %}