438 B
438 B
{% comment %} 引数: limit: 表示する日付数 {% endcomment %}
{% assign groups = site.pages | where_exp: "item", "item.date != null" | group_by: "date" | sort: "name" | reverse %} {% for group in groups limit: include.limit %}
{{ group.name | date: "%Y-%m-%d" }}
{% for item in group.items %}
{{ item.title }}
{% endfor %}