{% assign categories = site.categories | sort %} {% for category in categories %}
{% capture category_name %}{{ category | first }}{% endcapture %} {{ category_name }}
    {% for post in site.categories[category_name] %}
  1. {% if post.title and post.title != "" %}{{post.title}}{% else %}{{post.excerpt |strip_html}}{%endif%} {{post.excerpt | strip_html | strip | slice: 0, 200 }}...

  2. {% endfor %}
{% endfor %}