diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-11-07 17:35:53 +0100 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-11-07 17:35:53 +0100 |
commit | e01fec938d2d146bc490438ba93f0b9c3f3f192d (patch) | |
tree | 9c33d5e473b0b74838f58029bc185c77f3947891 /blog/znacke.html | |
parent | dodal fancy stuff; kategorije, slovenske številke - štetje (diff) | |
download | sijanec.eu-e01fec938d2d146bc490438ba93f0b9c3f3f192d.tar sijanec.eu-e01fec938d2d146bc490438ba93f0b9c3f3f192d.tar.gz sijanec.eu-e01fec938d2d146bc490438ba93f0b9c3f3f192d.tar.bz2 sijanec.eu-e01fec938d2d146bc490438ba93f0b9c3f3f192d.tar.lz sijanec.eu-e01fec938d2d146bc490438ba93f0b9c3f3f192d.tar.xz sijanec.eu-e01fec938d2d146bc490438ba93f0b9c3f3f192d.tar.zst sijanec.eu-e01fec938d2d146bc490438ba93f0b9c3f3f192d.zip |
Diffstat (limited to 'blog/znacke.html')
-rw-r--r-- | blog/znacke.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/blog/znacke.html b/blog/znacke.html new file mode 100644 index 0000000..f9bf486 --- /dev/null +++ b/blog/znacke.html @@ -0,0 +1,37 @@ +--- +layout: default +title: značke +--- +<h1> + značke +</h1> +<h2> + {% assign argv = ",značk,značka,znački,značke" | prepend: site.tags.size | split: "," %} + {{ site.tags.size }} {% include slnum.html %} {{ return }} +</h2> +<ul> + {% capture tag_sizes %}{% for tag in site.tags %}{{ tag[1].size | plus: -1000 }} {{ tag[0]}}^{% endfor %}{% endcapture %} + {% assign tags_sorted_by_number_of_posts = tag_sizes | split: "^" | sort %} + {% for pre_processed_tag in tags_sorted_by_number_of_posts %} + {% assign tag_with_size = pre_processed_tag | split: " " %} + {% assign key = tag_with_size[1] %} + {% assign tag = site.tags[key] %} + <li> + <h3 id="{{ key }}"> + {{ key }} + </h3> + <p> + <b> + {% assign argv = ",objav,objava,objavi,objave" | prepend: tag.size | split: "," %} + {{ tag.size }} <!--{% include slnum.html %}-->{{ return }}: + </b> + {% assign i = 1 %} + {% for post in tag %} + <a href="{{ post.url }}">{{ post.title }} @ {{ post.date | date: site.short_date_format }}</a>{% assign i = i | plus: 1 %}{% if i < tag.size %}, + {% elsif i == tag.size %} + in + {% endif %}{% endfor %}. + </p> + </li> + {% endfor %} +</ul> |