--- layout: home title: Blog Categories description: "An archive of posts sorted by category." comments: false --- {% capture site_cats %}{% for cat in site.categories %}{{ cat | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign cats_list = site_cats | split:',' | sort %} {% for item in (0..site.categories.size) %}{% unless forloop.last %} {% capture this_word %}{{ cats_list[item] | strip_newlines }}{% endcapture %}

{{ this_word }}

{% endunless %}{% endfor %}