--- layout: archive --- {{ content }} {% assign categories_max = 0 %} {% for category in site.categories %} {% if category[1].size > categories_max %} {% assign categories_max = category[1].size %} {% endif %} {% endfor %} {% assign entries_layout = page.entries_layout | default: 'list' %} {% for i in (1..categories_max) reversed %} {% for category in site.categories %} {% if category[1].size == i %}

{% if category[0].size <= 2 %} {{ category[0] | upcase }} {% else %} {{ category[0] | capitalize }} {% endif %}

{% for post in category.last %} {% include archive-single.html type=entries_layout %} {% endfor %}
{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑
{% endif %} {% endfor %} {% endfor %}