summaryrefslogtreecommitdiffstats
path: root/kategorije.html
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-07 01:24:59 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-07 01:24:59 +0100
commit6c93a756fea3df39f19a02e088992a79a0711852 (patch)
tree80ffcddb9851859724321cf78b95e0d4ef04551a /kategorije.html
parentpopravil linke (diff)
downloadsijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.gz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.bz2
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.lz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.xz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.zst
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.zip
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>