{% assign cate = page.categories[0] %} {{ cate }}
{% for post in site.categories[cate] %} {{ post.title }} {% endfor %}