summaryrefslogtreecommitdiffstats
path: root/kategorije.html
diff options
context:
space:
mode:
Diffstat (limited to 'kategorije.html')
-rw-r--r--kategorije.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/kategorije.html b/kategorije.html
new file mode 100644
index 0000000..f14da95
--- /dev/null
+++ b/kategorije.html
@@ -0,0 +1,33 @@
+---
+layout: default
+title: kategorije
+---
+<h1>
+ kategorije
+</h1>
+<h2>
+ {% assign argv = ",kategorij,kategorija,kategoriji,kategorije" | prepend: site.categories.size | split: "," %}
+ {{ site.categories.size }} {% include slnum.html %} {{ return }}
+</h2>
+<ul>
+ {% assign cats = site.categories | sort %}
+ {% for category in cats reversed %} <!-- 0 je ime, 1 je array objav -->
+ <li>
+ <h3 id="{{ category[0] }}">
+ {{ category[0] }}
+ </h3>
+ <p>
+ <b>
+ {% assign argv = ",objav,objava,objavi,objave" | prepend: category[1].size | split: "," %}
+ {{ category[1].size }} <!--{% include slnum.html %}-->{{ return }}:
+ </b>
+ {% assign i = 1 %}
+ {% for post in category[1] %}
+ <a href="{{ post.url }}">{{ post.title }} @ {{ post.date | date: site.short_date_format }}</a>{% assign i = i | plus: 1 %}{% if i < category[1].size %},
+ {% elsif i == category[1].size %}
+ in
+ {% endif %}{% endfor %}.
+ </p>
+ </li>
+ {% endfor %}
+</ul>