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 | |
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')
-rw-r--r-- | blog/avtorji.html | 22 | ||||
-rw-r--r-- | blog/kategorije.html | 37 | ||||
-rw-r--r-- | blog/objave.html | 19 | ||||
-rw-r--r-- | blog/znacke.html | 37 |
4 files changed, 115 insertions, 0 deletions
diff --git a/blog/avtorji.html b/blog/avtorji.html new file mode 100644 index 0000000..2cdfe59 --- /dev/null +++ b/blog/avtorji.html @@ -0,0 +1,22 @@ +--- +layout: default +title: avtorji +--- +<h1>avtorji</h1> +<ul> + {% for author in site.authors %} + <li> + <h2> + <a href="{{ author.url }}"> + {{ author.name }} + </a> + </h2> + <h3> + {{ author.position }} + </h3> + <p> + {{ author.content | markdownify }} + </p> + </li> + {% endfor %} +</ul> diff --git a/blog/kategorije.html b/blog/kategorije.html new file mode 100644 index 0000000..97ea14c --- /dev/null +++ b/blog/kategorije.html @@ -0,0 +1,37 @@ +--- +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> + {% 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] %} + <li> + <h3 id="{{ key }}"> + {{ key }} + </h3> + <p> + <b> + {% assign argv = ",objav,objava,objavi,objave" | prepend: category.size | split: "," %} + {{ category.size }} <!--{% include slnum.html %}-->{{ return }}: + </b> + {% assign i = 1 %} + {% for post in category %} + <a href="{{ post.url }}">{{ post.title }} @ {{ post.date | date: site.short_date_format }}</a>{% assign i = i | plus: 1 %}{% if i < category.size %}, + {% elsif i == category.size %} + in + {% endif %}{% endfor %}. + </p> + </li> + {% endfor %} +</ul> diff --git a/blog/objave.html b/blog/objave.html new file mode 100644 index 0000000..9c87194 --- /dev/null +++ b/blog/objave.html @@ -0,0 +1,19 @@ +--- +layout: default +title: blog +--- +<h1> + objave +</h1> +<ul> + {% for post in site.posts %} + <li> + <h3> + <a href="{{ post.url }}"> + {{ post.title }} @ {{ post.date | date: site.short_date_format }} + </a> + </h3> + {{ post.excerpt }} + </li> + {% endfor %} +</ul> 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> |