---
layout: default
title: kategorije
---
{% assign argv = ",kategorij,kategorija,kategoriji,kategorije" | prepend: site.categories.size | split: "," %}
{{ site.categories.size }} {% include slnum.html %} {{ return }}
{% capture category_sizes %}{% for category in site.categories %}{{ category[1].size | plus: -1000 }} {{ category[0]}}^{% endfor %}{% endcapture %}
{% assign categories_sorted_by_number_of_posts = category_sizes | split: "^" | sort %}
{% for pre_processed_category in categories_sorted_by_number_of_posts %}
{% assign category_with_size = pre_processed_category | split: " " %}
{% assign key = category_with_size[1] %}
{% assign category = site.categories[key] %}
-
{{ key }}
{% assign argv = ",objav,objava,objavi,objave" | prepend: category.size | split: "," %}
{{ category.size }} {{ return }}:
{% assign i = 1 %}
{% for post in category %}
{{ post.title }} @ {{ post.date | date: site.short_date_format }}{% assign i = i | plus: 1 %}{% if i < category.size %},
{% elsif i == category.size %}
in
{% endif %}{% endfor %}.
{% endfor %}