layout | title |
---|---|
page |
Categories |
{% assign cats = site.categories | sort %} {% for category in cats %}
-
{% for post in site.posts %}
{% if post.categories contains category[0] %}
- {{ post.title }} {{ post.date | date_to_string }} {% endif %} {% endfor %}
-
{% for post in site.posts %}
{% if post.categories.size == 0 %}
- {{ post.title }} {{ post.date | date_to_string }} {% endif %} {% endfor %}