diff options
Diffstat (limited to '')
-rw-r--r-- | _layouts/author.html | 12 | ||||
-rw-r--r-- | blog/avtorji.html | 9 |
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 }} |