--- layout: default title: Archives permalink: /archive/ icon: archive type: page ---

{{page.title}}


{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %} {% assign postsByMonth = site.posts | group_by_exp: "post", "post.date | date: '%Y %m'" %} {% for year in postsByYear %}

{{year.name}}年

{% for month in postsByMonth %} {% assign yearMonthArr = month.name | split: " " %} {% if year.name == yearMonthArr[0] %}

    {{yearMonthArr[1]}}月

      {% for post in month.items %}
    • {{ post.title }} {% include category.html %} {% include tag.html %}
    • {% endfor %}
{% endif %} {% endfor %} {% if forloop.last == false %}
{% endif %} {% endfor %}
{% include sidebar-search.html %}
Content