{% if site.posts.size == 0 %}

Sorry, no posts have been added yet.


{% else %} {% for category in site.categories %}

{{ category[0] }}

{% endfor %} {% assign uncategorized = site.posts | where_exp: "post","post.categories.size == 0" %} {% if uncategorized.size != 0 %}

Other

{% endif %} {% endif %}