HOME/Articles/

归档:Archives

Article Outline

    {% 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 %}
  • <span>{{ post.date | date_to_string }}</span>»{{ post.title }}

  • {% endfor %}