summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-08 21:12:11 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-08 21:12:11 +0100
commitf358d810095479109a34f2aa4b1a1d1cc0a68084 (patch)
tree317ef3215885cb3b8439656ceb14dafe18ba11db
parentavtorji/anton 0> avtorji/anton.html (diff)
downloadsijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.gz
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.bz2
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.lz
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.xz
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.zst
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.zip
-rw-r--r--_layouts/author.html12
-rw-r--r--blog/avtorji.html9
2 files changed, 17 insertions, 4 deletions
diff --git a/_layouts/author.html b/_layouts/author.html
index 226f1bb..3b8e2fd 100644
--- a/_layouts/author.html
+++ b/_layouts/author.html
@@ -10,10 +10,16 @@ layout: default
{{ content }}
<h2>objave:</h2>
+{% assign argv = page.short_name | split: "," %}
+{% include posts_by_author.html %}
+{% assign posts_by_author = return %}
+<h3>
+ {% assign argv = ",objav,objava,objavi,objave" | prepend: posts_by_author.size | split: "," %}
+ {% include slnum.html %}
+ {{ posts_by_author.size }} {{ return }}
+</h3>
<ul>
- {% assign argv = page.short_name | split: "," %}
- {% include posts_by_author.html %}
- {% for post in return %}
+ {% for post in posts_by_author %}
<li>
<a href="{{ post.url }}">
{{ post.title }} @ {{ post.date | date: site.short_date_format }}
diff --git a/blog/avtorji.html b/blog/avtorji.html
index 2cdfe59..f56c876 100644
--- a/blog/avtorji.html
+++ b/blog/avtorji.html
@@ -12,7 +12,14 @@ title: avtorji
</a>
</h2>
<h3>
- {{ author.position }}
+ {{ author.position }} -
+
+ {% assign argv = author.short_name | split: "," %}
+ {% include posts_by_author.html %}
+ {{ return.size }}
+ {% assign argv = ",objav,objava,objavi,objave" | prepend: return.size | split: "," %}
+ {% include slnum.html %}
+ {{ return }}
</h3>
<p>
{{ author.content | markdownify }}