--- layout: default permalink: /categories/ title: Categories ---
{% for category in site.categories %}
{% capture category_name %}{{ category | first }}{% endcapture %}

{{ category_name }}

{% for post in site.categories[category_name] %} {% endfor %}
{% endfor %}